When working with WINLIB5 what is the best way of aligning the text position in the viewport to the graphics position? For example creating an edit box and aligning some text to the left or above of it?
I've come up with these to help me:-
Code: Select all
DEF FN_get_x_char_to_pixel(X%) = X% * @char.x%
DEF FN_get_y_char_to_pixel(Y%) = Y% * @char.y%