Replies: 2 comments 3 replies
-
Hi Jens!
Try it this way and let me know if you succeed or not. |
Beta Was this translation helpful? Give feedback.
-
I'll explain what happened: The Your view tvision/include/tvision/dialogs.h Lines 39 to 75 in f369a73 However, in your example you are using the This is an example of proper usage of tvision/source/tvision/textview.cpp Line 181 in f369a73 But none of this is actually important for what you are trying to accomplish. You already decided that the color attribute you want is In order to do this you should use TDrawBuffer b;
for (int y = 0; y < size.y; ++y) {
b.moveChar(0, 'o', 0x0e, size.x);
writeLine(0, y, size.x, 1, b);
} This way, you don't have to override nor use |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have a TDialog, and I would like insert Text in it.
Currently I use the draw member to "render" the Text - but I fail.
So: how can I use DrawBuffer, to fill a field of 80x25, and draw this buffer to the TDialog ?
Beta Was this translation helpful? Give feedback.
All reactions