Core.Object | +--UWindow.UWindowBase | +--UWindow.UWindowWindow | +--UWindow.UWindowClientWindow | +--UWindow.UWindowDialogClientWindow
float
DesiredHeight
DesiredWidth
UWindowDialogControl
TabLast
void
GetDesiredDimensions(out float, out float)
Notify(UWindowDialogControl C, byte E)
OKPressed()
Paint(Canvas C, float X, float Y)
00001 class UWindowDialogClientWindow extends UWindowClientWindow; 00002 00003 00004 // Used for scrolling 00005 var float DesiredWidth; 00006 var float DesiredHeight; 00007 00008 var UWindowDialogControl TabLast; 00009 00010 function OKPressed() 00011 { 00012 } 00013 00014 function Notify(UWindowDialogControl C, byte E) 00015 { 00016 // Handle this notification in a subclass. 00017 } 00018 00019 function UWindowDialogControl CreateControl(class<UWindowDialogControl> ControlClass, float X, float Y, float W, float H, optional UWindowWindow OwnerWindow) 00020 { 00021 local UWindowDialogControl C; 00022 00023 C = UWindowDialogControl(CreateWindow(ControlClass, X, Y, W, H, OwnerWindow)); 00024 C.Register(Self); 00025 C.Notify(C.DE_Created); 00026 00027 if(TabLast == None) 00028 { 00029 TabLast = C; 00030 C.TabNext = C; 00031 C.TabPrev = C; 00032 } 00033 else 00034 { 00035 C.TabNext = TabLast.TabNext; 00036 C.TabPrev = TabLast; 00037 TabLast.TabNext.TabPrev = C; 00038 TabLast.TabNext = C; 00039 00040 TabLast = C; 00041 } 00042 00043 return C; 00044 } 00045 00046 function Paint(Canvas C, float X, float Y) 00047 { 00048 Super.Paint(C, X, Y); 00049 LookAndFeel.DrawClientArea(Self, C); 00050 } 00051 00052 00053 function GetDesiredDimensions(out float W, out float H) 00054 { 00055 W = DesiredWidth; 00056 H = DesiredHeight; 00057 } 00058 00059 defaultproperties 00060 { 00061 }