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 GUI_AA_FillCircle acting strange..

    Post
    Hello, I think it's because your y0 parameter in your GUI_AA_FillCircle() is not a multiple of the factor (4) you selected when using hi-res coordinates. Setting y0 to a closest multiple value (236 or 240) solves this problem on my side. Also you are…
  • LexaGb -

    Replied to the thread GRAPH horizontal resolution.

    Post
    Hello, here is a little sample code. There is a graph with the radio and simple buttons attached. Radio button switches the drawing modes (default (100 points) / scaled (500 points)) and simple button regenerates data array. For drawing curve in scaled…
  • LexaGb -

    Replied to the thread Disabling an EDIT widget does not stop cursor blinking.

    Post
    Hello, yes, if your EDITs don't contain transparency and you sure know the colors of the text and background then your approach is much more easy. Alex.
  • LexaGb -

    Replied to the thread Disabling an EDIT widget does not stop cursor blinking.

    Post
    Hello, to hide the cursor you could try to use EDIT_EnableInversion() with setting cursor background color as transparent and enabling transparency in WM_PAINT message sent to EDIT widgets. I modified your code like this: C Source Code (126 lines) At…
  • LexaGb -

    Replied to the thread how to change string inside dropdown.

    Post
    Hello, DROPDOWN_InsertString() in conjunction with DROPDOWN_DeleteItem() can be used for this purpose. I'd do something like that: C Source Code (52 lines) Alex.
  • LexaGb -

    Replied to the thread button and wrap.

    Post
    Hello, you can use skinning option for BUTTON widget and handle text drawing command calling GUI_DispStringInRectWrap() function. C Source Code (86 lines)
  • LexaGb -

    Replied to the thread Drawing a transparent text with a framed font.

    Post
    Hello, Sven, Yes, indeed I thought so that its about memory devices. I tested GUI_MEMDEV_PunchOutDevice() and in case of text it might give interesting effects, for example, gradient on the frame... Thank you for your example.
  • LexaGb -

    Replied to the thread CHECKBOX - how to change skin of focused widget.

    Post
    Hello, check the attached code. There are two checkboxes in a window (320 * 240), and one of them changes its skin frame and gradient colors when got the focus and returns default skin colors when lost the focus. Simply call CreateWindowChckBx() from…
  • LexaGb -

    Posted the thread Drawing a transparent text with a framed font.

    Thread
    Hello to everyone, I'm trying to draw some transparent text on the background that filled with a vertical gradient. I'd like to have a text with transparent and gray framed characters, so the background could be seen through it. But instead of…