Overview | Package | Class | Source | Class tree | Glossary | Deus Ex UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 |
//============================================================================= // CheckboxWindow. //============================================================================= class CheckboxWindow extends ToggleWindow native noexport; // ---------------------------------------------------------------------- // Execs #exec TEXTURE IMPORT FILE=Textures\CheckboxOn.pcx NAME=CheckboxOn #exec TEXTURE IMPORT FILE=Textures\CheckboxOff.pcx NAME=CheckboxOff // ---------------------------------------------------------------------- // Variables var const texture toggleOff; var const texture toggleOn; var const float textureWidth; var const float textureHeight; var const float checkboxSpacing; var const bool bRightSide; var const EDrawStyle checkboxStyle; var const Color checkboxColor; // ---------------------------------------------------------------------- // Intrinsics native(1840) final function SetCheckboxTextures(optional texture toggleOff, optional texture toggleOn, optional float textureWidth, optional float textureHeight); native(1841) final function SetCheckboxSpacing(float newSpacing); native(1842) final function ShowCheckboxOnRightSide(optional bool bRight); native(1843) final function SetCheckboxStyle(EDrawStyle newStyle); native(1844) final function SetCheckboxColor(Color newColor); // ---------------------------------------------------------------------- // ---------------------------------------------------------------------- // SetCheckboxColorRGB() : RGB version of SetCheckboxColor() function SetCheckboxColorRGB(INT red, INT green, INT blue) { local color newColor; newColor.r = red; newColor.g = green; newColor.b = blue; SetCheckboxColor(newColor); } defaultproperties { toggleOff=Texture'Extension.CheckboxOff' toggleOn=Texture'Extension.CheckboxOn' } |
Overview | Package | Class | Source | Class tree | Glossary | Deus Ex UnrealScript Documentation |
previous class next class | frames no frames |