/ Chip 2000 June
/ Chip_06_2000.iso / games / WheelofTime / WoTDemo.exe / System / UWindow.u / UWindowWindow_UWindowComboLeftButton_ScriptText.TextBuffer ![]() | < prev | next > |
Unknown | 1999-11-02 | 485 b |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
100% | file | data | default | |
100% | disktype | Blank disk/medium | default (weak) |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 5b 07 63 6c 61 73 73 20 |........|[.class |
|00000010| 55 57 69 6e 64 6f 77 43 | 6f 6d 62 6f 4c 65 66 74 |UWindowC|omboLeft|
|00000020| 42 75 74 74 6f 6e 20 65 | 78 74 65 6e 64 73 20 55 |Button e|xtends U|
|00000030| 57 69 6e 64 6f 77 42 75 | 74 74 6f 6e 3b 0d 0a 0d |WindowBu|tton;...|
|00000040| 0a 66 75 6e 63 74 69 6f | 6e 20 42 65 66 6f 72 65 |.functio|n Before|
|00000050| 50 61 69 6e 74 28 43 61 | 6e 76 61 73 20 43 2c 20 |Paint(Ca|nvas C, |
|00000060| 66 6c 6f 61 74 20 58 2c | 20 66 6c 6f 61 74 20 59 |float X,| float Y|
|00000070| 29 0d 0a 7b 0d 0a 09 4c | 6f 6f 6b 41 6e 64 46 65 |)..{...L|ookAndFe|
|00000080| 65 6c 2e 43 6f 6d 62 6f | 5f 53 65 74 75 70 4c 65 |el.Combo|_SetupLe|
|00000090| 66 74 42 75 74 74 6f 6e | 28 53 65 6c 66 29 3b 0d |ftButton|(Self);.|
|000000a0| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 4c |.}....fu|nction L|
|000000b0| 4d 6f 75 73 65 44 6f 77 | 6e 28 66 6c 6f 61 74 20 |MouseDow|n(float |
|000000c0| 58 2c 20 66 6c 6f 61 74 | 20 59 29 0d 0a 7b 0d 0a |X, float| Y)..{..|
|000000d0| 09 6c 6f 63 61 6c 20 69 | 6e 74 20 69 3b 0d 0a 0d |.local i|nt i;...|
|000000e0| 0a 09 53 75 70 65 72 2e | 4c 4d 6f 75 73 65 44 6f |..Super.|LMouseDo|
|000000f0| 77 6e 28 58 2c 20 59 29 | 3b 0d 0a 09 69 66 28 21 |wn(X, Y)|;...if(!|
|00000100| 62 44 69 73 61 62 6c 65 | 64 29 0d 0a 09 7b 0d 0a |bDisable|d)...{..|
|00000110| 09 09 69 20 3d 20 55 57 | 69 6e 64 6f 77 43 6f 6d |..i = UW|indowCom|
|00000120| 62 6f 43 6f 6e 74 72 6f | 6c 28 4f 77 6e 65 72 57 |boContro|l(OwnerW|
|00000130| 69 6e 64 6f 77 29 2e 47 | 65 74 53 65 6c 65 63 74 |indow).G|etSelect|
|00000140| 65 64 49 6e 64 65 78 28 | 29 3b 0d 0a 09 09 69 2d |edIndex(|);....i-|
|00000150| 2d 3b 0d 0a 09 09 69 66 | 28 69 20 3c 20 30 29 0d |-;....if|(i < 0).|
|00000160| 0a 09 09 09 69 20 3d 20 | 55 57 69 6e 64 6f 77 43 |....i = |UWindowC|
|00000170| 6f 6d 62 6f 43 6f 6e 74 | 72 6f 6c 28 4f 77 6e 65 |omboCont|rol(Owne|
|00000180| 72 57 69 6e 64 6f 77 29 | 2e 4c 69 73 74 2e 49 74 |rWindow)|.List.It|
|00000190| 65 6d 73 2e 43 6f 75 6e | 74 28 29 20 2d 20 31 3b |ems.Coun|t() - 1;|
|000001a0| 0d 0a 09 09 55 57 69 6e | 64 6f 77 43 6f 6d 62 6f |....UWin|dowCombo|
|000001b0| 43 6f 6e 74 72 6f 6c 28 | 4f 77 6e 65 72 57 69 6e |Control(|OwnerWin|
|000001c0| 64 6f 77 29 2e 53 65 74 | 53 65 6c 65 63 74 65 64 |dow).Set|Selected|
|000001d0| 49 6e 64 65 78 28 69 29 | 3b 0d 0a 09 7d 0d 0a 7d |Index(i)|;...}..}|
|000001e0| 0d 0a 0d 0a 00 | |..... | |
+--------+-------------------------+-------------------------+--------+--------+