Core.Object | +--UWindow.UWindowBase | +--UWindow.UWindowWindow | +--UWindow.UWindowDialogControl | +--UWindow.UWindowListControl
UWindowList
Items
class
ListClass
void
Created()
DrawItem(Canvas C, UWindowList Item, float X, float Y, float W, float H)
00001 //============================================================================= 00002 // UWindowListControl - Abstract class for list controls 00003 // - List boxes 00004 // - Dropdown Menus 00005 // - Combo Boxes, etc 00006 //============================================================================= 00007 class UWindowListControl extends UWindowDialogControl; 00008 00009 var class<UWindowList> ListClass; 00010 var UWindowList Items; 00011 00012 function DrawItem(Canvas C, UWindowList Item, float X, float Y, float W, float H) 00013 { 00014 // Declared in Subclass 00015 } 00016 00017 function Created() 00018 { 00019 Super.Created(); 00020 00021 Items = New ListClass; 00022 Items.Last = Items; 00023 Items.Next = None; 00024 Items.Prev = None; 00025 Items.Sentinel = Items; 00026 } 00027 00028 defaultproperties 00029 { 00030 }