Rev 6649 | Rev 6662 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6649 | Rev 6651 | ||
---|---|---|---|
Line 277... | Line 277... | ||
277 | We have a long text and need to show it in block. |
277 | We have a long text and need to show it in block. |
278 | Normal line break '\n' must be applied. |
278 | Normal line break '\n' must be applied. |
279 | Long lines should be breaked by word. |
279 | Long lines should be breaked by word. |
280 | TODO: scroll |
280 | TODO: scroll |
281 | */ |
281 | */ |
282 | :int DrawTextViewArea(int x,y,w,h,line_h, dword buf_start, bg_col, text_col) |
282 | :int DrawTextViewArea(int x,y,w,h, dword buf_start, bg_col, text_col) |
283 | { |
283 | { |
284 | dword write_start; |
284 | dword write_start; |
285 | dword buf_end; |
285 | dword buf_end; |
- | 286 | int line_h = 15; |
|
286 | int label_length_max; |
287 | int label_length_max; |
287 | int write_length; |
288 | int write_length; |
288 | bool end_found; |
289 | bool end_found; |
Line 289... | Line 290... | ||
289 | 290 |