home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 June / Chip_06_2000.iso / games / WheelofTime / WoTDemo.exe / System / UWindow.u / UWindowWindow_UWindowEditControl_ScriptText.TextBuffer < prev    next >
Unknown  |  1999-11-02  |  1.3 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 42 15 63 6c 61 73 73 20 |........|B.class |
|00000010| 55 57 69 6e 64 6f 77 45 | 64 69 74 43 6f 6e 74 72 |UWindowE|ditContr|
|00000020| 6f 6c 20 65 78 74 65 6e | 64 73 20 55 57 69 6e 64 |ol exten|ds UWind|
|00000030| 6f 77 44 69 61 6c 6f 67 | 43 6f 6e 74 72 6f 6c 3b |owDialog|Control;|
|00000040| 0d 0a 0d 0a 76 61 72 09 | 66 6c 6f 61 74 09 09 09 |....var.|float...|
|00000050| 45 64 69 74 42 6f 78 57 | 69 64 74 68 3b 0d 0a 76 |EditBoxW|idth;..v|
|00000060| 61 72 20 66 6c 6f 61 74 | 09 09 09 45 64 69 74 41 |ar float|...EditA|
|00000070| 72 65 61 44 72 61 77 58 | 2c 20 45 64 69 74 41 72 |reaDrawX|, EditAr|
|00000080| 65 61 44 72 61 77 59 3b | 0d 0a 76 61 72 20 55 57 |eaDrawY;|..var UW|
|00000090| 69 6e 64 6f 77 45 64 69 | 74 42 6f 78 09 45 64 69 |indowEdi|tBox.Edi|
|000000a0| 74 42 6f 78 3b 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |tBox;...|.functio|
|000000b0| 6e 20 43 72 65 61 74 65 | 64 28 29 0d 0a 7b 0d 0a |n Create|d()..{..|
|000000c0| 09 6c 6f 63 61 6c 20 43 | 6f 6c 6f 72 20 43 3b 0d |.local C|olor C;.|
|000000d0| 0a 0d 0a 09 53 75 70 65 | 72 2e 43 72 65 61 74 65 |....Supe|r.Create|
|000000e0| 64 28 29 3b 0d 0a 09 0d | 0a 09 45 64 69 74 42 6f |d();....|..EditBo|
|000000f0| 78 20 3d 20 55 57 69 6e | 64 6f 77 45 64 69 74 42 |x = UWin|dowEditB|
|00000100| 6f 78 28 43 72 65 61 74 | 65 57 69 6e 64 6f 77 28 |ox(Creat|eWindow(|
|00000110| 63 6c 61 73 73 27 55 57 | 69 6e 64 6f 77 45 64 69 |class'UW|indowEdi|
|00000120| 74 42 6f 78 27 2c 20 30 | 2c 20 30 2c 20 57 69 6e |tBox', 0|, 0, Win|
|00000130| 57 69 64 74 68 2c 20 57 | 69 6e 48 65 69 67 68 74 |Width, W|inHeight|
|00000140| 29 29 3b 20 0d 0a 09 45 | 64 69 74 42 6f 78 2e 4e |)); ...E|ditBox.N|
|00000150| 6f 74 69 66 79 4f 77 6e | 65 72 20 3d 20 53 65 6c |otifyOwn|er = Sel|
|00000160| 66 3b 0d 0a 09 45 64 69 | 74 42 6f 78 2e 62 53 65 |f;...Edi|tBox.bSe|
|00000170| 6c 65 63 74 4f 6e 46 6f | 63 75 73 20 3d 20 54 72 |lectOnFo|cus = Tr|
|00000180| 75 65 3b 0d 0a 0d 0a 09 | 45 64 69 74 42 6f 78 57 |ue;.....|EditBoxW|
|00000190| 69 64 74 68 20 3d 20 57 | 69 6e 57 69 64 74 68 20 |idth = W|inWidth |
|000001a0| 2f 20 32 3b 0d 0a 0d 0a | 09 53 65 74 45 64 69 74 |/ 2;....|.SetEdit|
|000001b0| 54 65 78 74 43 6f 6c 6f | 72 28 4c 6f 6f 6b 41 6e |TextColo|r(LookAn|
|000001c0| 64 46 65 65 6c 2e 45 64 | 69 74 42 6f 78 54 65 78 |dFeel.Ed|itBoxTex|
|000001d0| 74 43 6f 6c 6f 72 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 |tColor);|..}....f|
|000001e0| 75 6e 63 74 69 6f 6e 20 | 53 65 74 4e 75 6d 65 72 |unction |SetNumer|
|000001f0| 69 63 4f 6e 6c 79 28 62 | 6f 6f 6c 20 62 4e 75 6d |icOnly(b|ool bNum|
|00000200| 65 72 69 63 4f 6e 6c 79 | 29 0d 0a 7b 0d 0a 09 45 |ericOnly|)..{...E|
|00000210| 64 69 74 42 6f 78 2e 62 | 4e 75 6d 65 72 69 63 4f |ditBox.b|NumericO|
|00000220| 6e 6c 79 20 3d 20 62 4e | 75 6d 65 72 69 63 4f 6e |nly = bN|umericOn|
|00000230| 6c 79 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |ly;..}..|..functi|
|00000240| 6f 6e 20 53 65 74 46 6f | 6e 74 28 69 6e 74 20 4e |on SetFo|nt(int N|
|00000250| 65 77 46 6f 6e 74 29 0d | 0a 7b 0d 0a 09 53 75 70 |ewFont).|.{...Sup|
|00000260| 65 72 2e 53 65 74 46 6f | 6e 74 28 4e 65 77 46 6f |er.SetFo|nt(NewFo|
|00000270| 6e 74 29 3b 0d 0a 09 45 | 64 69 74 42 6f 78 2e 53 |nt);...E|ditBox.S|
|00000280| 65 74 46 6f 6e 74 28 4e | 65 77 46 6f 6e 74 29 3b |etFont(N|ewFont);|
|00000290| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|000002a0| 53 65 74 45 64 69 74 54 | 65 78 74 43 6f 6c 6f 72 |SetEditT|extColor|
|000002b0| 28 43 6f 6c 6f 72 20 4e | 65 77 43 6f 6c 6f 72 29 |(Color N|ewColor)|
|000002c0| 0d 0a 7b 0d 0a 09 45 64 | 69 74 42 6f 78 2e 53 65 |..{...Ed|itBox.Se|
|000002d0| 74 54 65 78 74 43 6f 6c | 6f 72 28 4e 65 77 43 6f |tTextCol|or(NewCo|
|000002e0| 6c 6f 72 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |lor);..}|....func|
|000002f0| 74 69 6f 6e 20 43 6c 65 | 61 72 28 29 0d 0a 7b 0d |tion Cle|ar()..{.|
|00000300| 0a 09 45 64 69 74 42 6f | 78 2e 43 6c 65 61 72 28 |..EditBo|x.Clear(|
|00000310| 29 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |);..}...|.functio|
|00000320| 6e 20 73 74 72 69 6e 67 | 20 47 65 74 56 61 6c 75 |n string| GetValu|
|00000330| 65 28 29 0d 0a 7b 0d 0a | 09 72 65 74 75 72 6e 20 |e()..{..|.return |
|00000340| 45 64 69 74 42 6f 78 2e | 47 65 74 56 61 6c 75 65 |EditBox.|GetValue|
|00000350| 28 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |();..}..|..functi|
|00000360| 6f 6e 20 53 65 74 56 61 | 6c 75 65 28 73 74 72 69 |on SetVa|lue(stri|
|00000370| 6e 67 20 4e 65 77 56 61 | 6c 75 65 29 0d 0a 7b 0d |ng NewVa|lue)..{.|
|00000380| 0a 09 45 64 69 74 42 6f | 78 2e 53 65 74 56 61 6c |..EditBo|x.SetVal|
|00000390| 75 65 28 4e 65 77 56 61 | 6c 75 65 29 3b 09 0d 0a |ue(NewVa|lue);...|
|000003a0| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 53 65 |}....fun|ction Se|
|000003b0| 74 4d 61 78 4c 65 6e 67 | 74 68 28 69 6e 74 20 4d |tMaxLeng|th(int M|
|000003c0| 61 78 4c 65 6e 67 74 68 | 29 0d 0a 7b 0d 0a 09 45 |axLength|)..{...E|
|000003d0| 64 69 74 42 6f 78 2e 4d | 61 78 4c 65 6e 67 74 68 |ditBox.M|axLength|
|000003e0| 20 3d 20 4d 61 78 4c 65 | 6e 67 74 68 3b 0d 0a 7d | = MaxLe|ngth;..}|
|000003f0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 50 61 69 |....func|tion Pai|
|00000400| 6e 74 28 43 61 6e 76 61 | 73 20 43 2c 20 66 6c 6f |nt(Canva|s C, flo|
|00000410| 61 74 20 58 2c 20 66 6c | 6f 61 74 20 59 29 0d 0a |at X, fl|oat Y)..|
|00000420| 7b 0d 0a 09 4c 6f 6f 6b | 41 6e 64 46 65 65 6c 2e |{...Look|AndFeel.|
|00000430| 45 64 69 74 62 6f 78 5f | 44 72 61 77 28 53 65 6c |Editbox_|Draw(Sel|
|00000440| 66 2c 20 43 29 3b 0d 0a | 09 53 75 70 65 72 2e 50 |f, C);..|.Super.P|
|00000450| 61 69 6e 74 28 43 2c 20 | 58 2c 20 59 29 3b 0d 0a |aint(C, |X, Y);..|
|00000460| 7d 0d 0a 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |}......f|unction |
|00000470| 42 65 66 6f 72 65 50 61 | 69 6e 74 28 43 61 6e 76 |BeforePa|int(Canv|
|00000480| 61 73 20 43 2c 20 66 6c | 6f 61 74 20 58 2c 20 66 |as C, fl|oat X, f|
|00000490| 6c 6f 61 74 20 59 29 0d | 0a 7b 0d 0a 09 53 75 70 |loat Y).|.{...Sup|
|000004a0| 65 72 2e 42 65 66 6f 72 | 65 50 61 69 6e 74 28 43 |er.Befor|ePaint(C|
|000004b0| 2c 20 58 2c 20 59 29 3b | 0d 0a 09 4c 6f 6f 6b 41 |, X, Y);|...LookA|
|000004c0| 6e 64 46 65 65 6c 2e 45 | 64 69 74 62 6f 78 5f 53 |ndFeel.E|ditbox_S|
|000004d0| 65 74 75 70 53 69 7a 65 | 73 28 53 65 6c 66 2c 20 |etupSize|s(Self, |
|000004e0| 43 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |C);..}..|..functi|
|000004f0| 6f 6e 20 53 65 74 44 65 | 6c 61 79 65 64 4e 6f 74 |on SetDe|layedNot|
|00000500| 69 66 79 28 62 6f 6f 6c | 20 62 44 65 6c 61 79 65 |ify(bool| bDelaye|
|00000510| 64 4e 6f 74 69 66 79 29 | 0d 0a 7b 0d 0a 09 45 64 |dNotify)|..{...Ed|
|00000520| 69 74 62 6f 78 2e 62 44 | 65 6c 61 79 65 64 4e 6f |itbox.bD|elayedNo|
|00000530| 74 69 66 79 20 3d 20 62 | 44 65 6c 61 79 65 64 4e |tify = b|DelayedN|
|00000540| 6f 74 69 66 79 3b 0d 0a | 7d 0d 0a 00 |otify;..|}... |
+--------+-------------------------+-------------------------+--------+--------+