module imageloader;

using presentation::*; using presentation::controls::*; using presentation::controls::list::*;

func LoadListView(root : GuiInstanceRootObject*, callback : func(ListViewItem^):void) : void { { var item = new ListViewItem^(); item.Text = "Task"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/Task", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/Task", true); item.SubItems.Add("005"); item.SubItems.Add("16x16"); item.SubItems.Add("005_Task_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "Reminder"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/Reminder", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/Reminder", true); item.SubItems.Add("008"); item.SubItems.Add("16x16"); item.SubItems.Add("008_Reminder_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "Tip"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/Tip", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/Tip", true); item.SubItems.Add("023"); item.SubItems.Add("16x16"); item.SubItems.Add("023_Tip_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "ArrowCurve_Blue_Left"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/ArrowCurve_Blue_Left", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/ArrowCurve_Blue_Left", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_ArrowCurve_Blue_Left_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "ArrowCurve_Blue_Right"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/ArrowCurve_Blue_Right", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/ArrowCurve_Blue_Right", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_ArrowCurve_Blue_Right_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "DownArrowLong_Blue"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/DownArrowLong_Blue", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/DownArrowLong_Blue", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_DownArrowLong_Blue_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "DownArrowLong_Green"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/DownArrowLong_Green", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/DownArrowLong_Green", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_DownArrowLong_Green_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "DownArrowLong_Grey"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/DownArrowLong_Grey", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/DownArrowLong_Grey", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_DownArrowLong_Grey_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "DownArrowLong_Orange"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/DownArrowLong_Orange", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/DownArrowLong_Orange", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_DownArrowLong_Orange_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "LeftArrowLong_Blue"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/LeftArrowLong_Blue", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/LeftArrowLong_Blue", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_LeftArrowLong_Blue_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "LeftArrowLong_Green"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/LeftArrowLong_Green", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/LeftArrowLong_Green", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_LeftArrowLong_Green_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "LeftArrowLong_Grey"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/LeftArrowLong_Grey", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/LeftArrowLong_Grey", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_LeftArrowLong_Grey_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "LeftArrowLong_Orange"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/LeftArrowLong_Orange", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/LeftArrowLong_Orange", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_LeftArrowLong_Orange_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "Minus_Blue"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/Minus_Blue", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/Minus_Blue", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_Minus_Blue_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "Minus_Green"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/Minus_Green", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/Minus_Green", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_Minus_Green_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "Minus_Grey"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/Minus_Grey", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/Minus_Grey", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_Minus_Grey_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "Minus_Orange"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/Minus_Orange", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/Minus_Orange", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_Minus_Orange_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "Plus_Blue"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/Plus_Blue", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/Plus_Blue", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_Plus_Blue_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "Plus_Green"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/Plus_Green", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/Plus_Green", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_Plus_Green_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "Plus_Grey"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/Plus_Grey", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/Plus_Grey", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_Plus_Grey_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "Plus_Orange"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/Plus_Orange", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/Plus_Orange", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_Plus_Orange_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "RightArrowLong_Blue"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/RightArrowLong_Blue", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/RightArrowLong_Blue", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_RightArrowLong_Blue_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "RightArrowLong_Green"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/RightArrowLong_Green", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/RightArrowLong_Green", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_RightArrowLong_Green_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "RightArrowLong_Grey"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/RightArrowLong_Grey", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/RightArrowLong_Grey", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_RightArrowLong_Grey_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "RightArrowLong_Orange"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/RightArrowLong_Orange", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/RightArrowLong_Orange", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_RightArrowLong_Orange_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "UpArrowLong_Blue"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/UpArrowLong_Blue", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/UpArrowLong_Blue", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_UpArrowLong_Blue_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "UpArrowLong_Green"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/UpArrowLong_Green", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/UpArrowLong_Green", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_UpArrowLong_Green_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "UpArrowLong_Grey"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/UpArrowLong_Grey", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/UpArrowLong_Grey", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_UpArrowLong_Grey_16x16_72.png"); callback(item); } { var item = new ListViewItem^(); item.Text = "UpArrowLong_Orange"; item.LargeImage = cast (GuiImageData^) root.ResolveResource("res", "LargeImages/UpArrowLong_Orange", true); item.SmallImage = cast (GuiImageData^) root.ResolveResource("res", "SmallImages/UpArrowLong_Orange", true); item.SubItems.Add("112"); item.SubItems.Add("16x16"); item.SubItems.Add("112_UpArrowLong_Orange_16x16_72.png"); callback(item); } }