Search Results

Search results 1-9 of 9.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Thank you warlord for the suggestion. I have already tried but no luck.

  • I have experiance the same problem. Have you got the solution ? Source Code (6 lines)I these code If i increase delay from 25 to 30, "Bye" string will not display. Something is not good with timing parameter. I am using FreeRtos within. GUI_X_Delay() uses osDelay() for timing.

  • Thanks @SEGGER - Florian for the answer. - GUI_Init() is called in my earlier code. I have sent you the GUI file only with modification of main(); - I have tried removing WM_Invalidate() and _cbFaultAlertText(). But with NO success. - Tried changing color to GUI_BLACK - Source Code (2 lines)these lines are not working so I can see only black background with keyur : 0 written in white color in my code. I have again tried above 4 points which you suggested but not working. Can you please elaborate…

  • Hey @SEGGER - Florian have you checked my code ? Thanks

  • Thank you Florian. I have attached my code. Please let me know what you find. This is GUIBuilder generated file which I have edited. In a text widget it has added 0x64 as additional para which I don't understand. Also in WM_INIT_DIALOG case I have tried to draw rectangle which is also not displaying. But Still I have doubts in your explanation. Source Code (1 line)How is it possible ? How does the widget itself draws the text ? I am willing to set text in a text widget and show it on display. So…

  • Thanks for the reply. Source Code (1 line)Yes. Actually by means of WM_SetUserData() only I am updating data. Also I am changing length every time but issue is still the same. Source Code (1 line)By Above I understand that using TEXT_SetText() I am only setting the widget properties. So how would I draw something ? What does you mean by which does not draw any text ? Btw I have tried removing the call back and did same thing in WM_USER_DATA case of parent window callback but no success.

  • Thanks @ Quote from SEGGER - Florian: “Hi, There isn't any text shown in your TEXT widget because you have overwritten the WM_PAINT case in your callback. This means that when the TEXT widget is invalidated, your WM_PAINT case is executed which does not draw any text on the screen, but only sets widget properties. In this case, I would simply get rid of the TEXT callback and set the properties of the text like you did above when initializing the widget. You can redraw the TEXT widget by calling …

  • When I get back the string using TEXT_GetText I get the updated string but it is not updated on screen. I can set the text color, bg color but text string is not updated on display.

  • Text Widget does update on multiple invalidate call in WM_PAINT Block I am trying to update text widget in a WM_Paint block but it does not.My code This is initialization Source Code (5 lines) Now I am invalidating it using WM_Invalidate Source Code (2 lines)And it callback funtion Source Code (21 lines)Here user data keeps updating. I am getting it into logs but can not show any changes on screen