I am Windows Manager and I have a window fully populated.
I would like to rotate some text boxes widgets. I believe they do not support the rotation method.
I saw at the manual that we can use "rotated" texts, as follows:
GUI_RECT Rect = {166+(18)*1, 72, 40, 80};
char acText[] = "Rotated\ntext";
GUI_SetTextMode(GUI_TM_XOR);
GUI_FillRectEx(&Rect);
GUI_DispStringInRectEx(acText, &Rect, GUI_TA_HCENTER | GUI_TA_VCENTER, strlen(acText), GUI_ROTATE_CCW);
However, this piece of code is not working at my window: it does not shows up. Is it incompatible with WM?
Any hint of how to solve this issue?
Thanks.
I would like to rotate some text boxes widgets. I believe they do not support the rotation method.
I saw at the manual that we can use "rotated" texts, as follows:
GUI_RECT Rect = {166+(18)*1, 72, 40, 80};
char acText[] = "Rotated\ntext";
GUI_SetTextMode(GUI_TM_XOR);
GUI_FillRectEx(&Rect);
GUI_DispStringInRectEx(acText, &Rect, GUI_TA_HCENTER | GUI_TA_VCENTER, strlen(acText), GUI_ROTATE_CCW);
However, this piece of code is not working at my window: it does not shows up. Is it incompatible with WM?
Any hint of how to solve this issue?
Thanks.