LexaGb Beginner
- Member since May 25th 2018
- Last Activity
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
LexaGb -
Replied to the thread Degree symbol in GUI Builder.
PostHello, there is only support of the base ASCII set in text editable parameters of the widgets in GUIBuilder. The only thing you can do is generate the degree symbol as '°' in a text editor with extended symbols support (for example, in Word) and then… -
LexaGb -
Replied to the thread GRAPH - vertical rescale - how to?.
PostHello, suppose there is no way to replace data in the current data handle. I'd do something like this: 1. Clear the graph from current data curve with GRAPH_DetachData(). 2. Delete and create a new data handler with the same handle variable using … -
LexaGb -
Replied to the thread Problem with memory device in emwin with ST7735.
PostHello, if you're using only internal ram for keeping emwin pool and frame buffer I think it is too few for memory devices. Display driver just does data exchange with st7735. Memory size depends on color configuration you're using. For example, if… -
LexaGb -
Replied to the thread BUTTON - wrapped text.
PostHello, look at this: forum.segger.com/index.php/Thread/5802-button-and-wrap/ Alex. -
LexaGb -
Replied to the thread LISTBOX - Is there a way to display two-lined item.
PostUpd: you can do a little easier: set multilined string when call API function: LISTBOX_AddString(hLstbx, "Two lined\nitem 3"); and then handle only command WIDGET_ITEM_GET_YSIZE in your owner draw function to change the ysize of the item. Alex.… -
LexaGb -
Replied to the thread LISTBOX - Is there a way to display two-lined item.
PostHello, there is no difference how you are doing: whether you create a widget from resource table or create it manually. Resource table just calls the same creating API function with some basic parameters of a widget. So there is no configuration to do… -
LexaGb -
Replied to the thread LISTBOX - Is there a way to display two-lined item.
PostHello, it is possible with using owner draw function where you can display multilined strings at dedicated item. C Source Code (72 lines)Alex. -
LexaGb -
Replied to the thread Snapping time in a window motion.
PostHello, Florian, thanks for your answer. I'll try to explain better. As I see the variable Period also has an impact on the total moving time if we're starting a moving operation by a PID quite fast. So if we reduce Period value then it takes less time… -
LexaGb -
Posted the thread Snapping time in a window motion.
ThreadHello, I'm working on a custom widget that would use motion (sort of horizontal listwheel or swipelist). And I'd like to reduce time for snapping the items to the snap position just like listwheel widget does . As far as I understand there is a… -
LexaGb -
Replied to the thread PROGBAR doesn't change colors.
PostHello, to remove the progress value from the bar just call this with the empty string value: PROGBAR_SetText(hProg, ""). Alex. -
LexaGb -
Replied to the thread Widgets on top of GRAPH disappear when using slider.
PostHello, it is probably because the buttons in the graph area are siblings to the graph. Just attach this buttons to the graph as child widgets using WM_AttachWindowAt(). Then the buttons will be always drawn after the graph is drawn so they should not… -
LexaGb -
Replied to the thread LISTVIEW - different styles.
PostHello, if it is just some kind of an event log then things are a bit easier. Indeed you can do a listview with one column and use default API functions for setting a bitmap and bk color for warning and fault messages. For messages with the parameters… -
LexaGb -
Replied to the thread LISTVIEW - different styles.
PostHello, not exactly clear what you want, but if you need "Warning Description" instead of the header then just place another widget (text or image...) over the header. If you need to do something more complicated, exactly a row with "one column style"… -
LexaGb -
Replied to the thread Dropdown widget issues.
PostHello, quite simple. C Source Code (35 lines)Alex. -
LexaGb -
Replied to the thread Polygon Rotation.
PostYes, we could say that, I suppose. I would say, the term of the origin point is applicable when drawing the polygon. Rotation of the polygon is doing in relative coordinates. When we are drawing rotated polygon we set the origin point again for drawing… -
LexaGb -
Replied to the thread Polygon Rotation.
PostHello, the coordinates of polygon are considered related to the origin point when drawing the polygon. When rotating the polygon the origin point is the pivot point of the polygon that can be inside and outside the polygon depending on its… -
LexaGb -
Replied to the thread Dropdown widget issues.
PostHello, Quote from Electrons4me: “...I would have to draw all my primitives and text in the cbBackgroundWin() Callback... ” yes, that's right. If you are using widgets in your projects then you are using Window Manager and in this case you need to…