home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 32 / CD Expert nº 32.iso / Unreal T / utdemo338.exe / System / UWindow.u / ScriptText.TextBuffer < prev    next >
Unknown  |  1999-09-27  |  877 b 

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

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 | 63 0d 63 6c 61 73 73 20 |........|c.class |
|00000010| 55 57 69 6e 64 6f 77 57 | 72 61 70 70 65 64 54 65 |UWindowW|rappedTe|
|00000020| 78 74 41 72 65 61 20 65 | 78 74 65 6e 64 73 20 55 |xtArea e|xtends U|
|00000030| 57 69 6e 64 6f 77 54 65 | 78 74 41 72 65 61 43 6f |WindowTe|xtAreaCo|
|00000040| 6e 74 72 6f 6c 3b 0d 0a | 0d 0a 66 75 6e 63 74 69 |ntrol;..|..functi|
|00000050| 6f 6e 20 50 61 69 6e 74 | 28 20 43 61 6e 76 61 73 |on Paint|( Canvas|
|00000060| 20 43 2c 20 66 6c 6f 61 | 74 20 58 2c 20 66 6c 6f | C, floa|t X, flo|
|00000070| 61 74 20 59 20 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |at Y )..|{...loca|
|00000080| 6c 20 69 6e 74 20 69 2c | 20 6a 2c 20 4c 69 6e 65 |l int i,| j, Line|
|00000090| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 69 6e 74 20 54 65 |;...loca|l int Te|
|000000a0| 6d 70 48 65 61 64 2c 20 | 54 65 6d 70 54 61 69 6c |mpHead, |TempTail|
|000000b0| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 66 6c 6f 61 74 20 |;...loca|l float |
|000000c0| 58 4c 2c 20 59 4c 3b 0d | 0a 0d 0a 09 43 2e 46 6f |XL, YL;.|....C.Fo|
|000000d0| 6e 74 20 3d 20 52 6f 6f | 74 2e 46 6f 6e 74 73 5b |nt = Roo|t.Fonts[|
|000000e0| 46 6f 6e 74 5d 3b 0d 0a | 09 43 2e 44 72 61 77 43 |Font];..|.C.DrawC|
|000000f0| 6f 6c 6f 72 2e 52 20 3d | 20 32 35 35 3b 0d 0a 09 |olor.R =| 255;...|
|00000100| 43 2e 44 72 61 77 43 6f | 6c 6f 72 2e 47 20 3d 20 |C.DrawCo|lor.G = |
|00000110| 32 35 35 3b 0d 0a 09 43 | 2e 44 72 61 77 43 6f 6c |255;...C|.DrawCol|
|00000120| 6f 72 2e 42 20 3d 20 32 | 35 35 3b 0d 0a 0d 0a 09 |or.B = 2|55;.....|
|00000130| 54 65 78 74 53 69 7a 65 | 28 43 2c 20 22 54 45 53 |TextSize|(C, "TES|
|00000140| 54 22 2c 20 58 4c 2c 20 | 59 4c 29 3b 0d 0a 09 56 |T", XL, |YL);...V|
|00000150| 69 73 69 62 6c 65 52 6f | 77 73 20 3d 20 57 69 6e |isibleRo|ws = Win|
|00000160| 48 65 69 67 68 74 20 2f | 20 59 4c 3b 0d 0a 0d 0a |Height /| YL;....|
|00000170| 09 69 66 20 28 62 53 63 | 72 6f 6c 6c 61 62 6c 65 |.if (bSc|rollable|
|00000180| 29 0d 0a 09 7b 0d 0a 09 | 09 56 65 72 74 53 42 2e |)...{...|.VertSB.|
|00000190| 53 65 74 52 61 6e 67 65 | 28 30 2c 20 4c 69 6e 65 |SetRange|(0, Line|
|000001a0| 73 2c 20 56 69 73 69 62 | 6c 65 52 6f 77 73 29 3b |s, Visib|leRows);|
|000001b0| 0d 0a 09 7d 0d 0a 0d 0a | 09 54 65 6d 70 48 65 61 |...}....|.TempHea|
|000001c0| 64 20 3d 20 48 65 61 64 | 3b 0d 0a 09 54 65 6d 70 |d = Head|;...Temp|
|000001d0| 54 61 69 6c 20 3d 20 54 | 61 69 6c 3b 0d 0a 09 4c |Tail = T|ail;...L|
|000001e0| 69 6e 65 20 3d 20 54 65 | 6d 70 48 65 61 64 3b 0d |ine = Te|mpHead;.|
|000001f0| 0a 09 54 65 78 74 41 72 | 65 61 5b 4c 69 6e 65 5d |..TextAr|ea[Line]|
|00000200| 20 3d 20 50 72 6f 6d 70 | 74 3b 0d 0a 09 69 66 20 | = Promp|t;...if |
|00000210| 28 62 53 63 72 6f 6c 6c | 61 62 6c 65 29 0d 0a 09 |(bScroll|able)...|
|00000220| 7b 0d 0a 09 09 69 66 20 | 28 56 65 72 74 53 42 2e |{....if |(VertSB.|
|00000230| 4d 61 78 50 6f 73 20 2d | 20 56 65 72 74 53 42 2e |MaxPos -| VertSB.|
|00000240| 50 6f 73 20 3e 20 30 29 | 0d 0a 09 09 7b 0d 0a 09 |Pos > 0)|....{...|
|00000250| 09 09 4c 69 6e 65 20 2d | 3d 20 56 65 72 74 53 42 |..Line -|= VertSB|
|00000260| 2e 4d 61 78 50 6f 73 20 | 2d 20 56 65 72 74 53 42 |.MaxPos |- VertSB|
|00000270| 2e 50 6f 73 3b 0d 0a 09 | 09 09 54 65 6d 70 54 61 |.Pos;...|..TempTa|
|00000280| 69 6c 20 2d 3d 20 56 65 | 72 74 53 42 2e 4d 61 78 |il -= Ve|rtSB.Max|
|00000290| 50 6f 73 20 2d 20 56 65 | 72 74 53 42 2e 50 6f 73 |Pos - Ve|rtSB.Pos|
|000002a0| 3b 0d 0a 09 09 7d 0d 0a | 09 7d 0d 0a 09 66 6f 72 |;....}..|.}...for|
|000002b0| 20 28 69 3d 30 3b 20 69 | 3c 56 69 73 69 62 6c 65 | (i=0; i|<Visible|
|000002c0| 52 6f 77 73 3b 20 69 2b | 2b 29 0d 0a 09 7b 0d 0a |Rows; i+|+)...{..|
|000002d0| 09 09 57 72 61 70 43 6c | 69 70 54 65 78 74 28 43 |..WrapCl|ipText(C|
|000002e0| 2c 20 32 2c 20 59 4c 2a | 28 56 69 73 69 62 6c 65 |, 2, YL*|(Visible|
|000002f0| 52 6f 77 73 2d 69 2d 31 | 29 2c 20 54 65 78 74 41 |Rows-i-1|), TextA|
|00000300| 72 65 61 5b 4c 69 6e 65 | 2d 31 5d 29 3b 0d 0a 09 |rea[Line|-1]);...|
|00000310| 09 4c 69 6e 65 2d 2d 3b | 0d 0a 09 09 69 66 20 28 |.Line--;|....if (|
|00000320| 54 65 6d 70 54 61 69 6c | 20 3d 3d 20 4c 69 6e 65 |TempTail| == Line|
|00000330| 29 0d 0a 09 09 09 62 72 | 65 61 6b 3b 0d 0a 09 09 |).....br|eak;....|
|00000340| 69 66 20 28 4c 69 6e 65 | 20 3c 20 30 29 0d 0a 09 |if (Line| < 0)...|
|00000350| 09 09 4c 69 6e 65 20 3d | 20 42 75 66 53 69 7a 65 |..Line =| BufSize|
|00000360| 2d 31 3b 0d 0a 09 7d 0d | 0a 7d 0d 0a 00 |-1;...}.|.}... |
+--------+-------------------------+-------------------------+--------+--------+