SEGGER - Florian Administrator

  • Member since Oct 24th 2019

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

  • SEGGER - Florian -

    Replied to the thread Hide or Show dinamically a Button widget.

    Post
    Hi, To show and hide widgets/windows you can use the routines WM_ShowWindow() and WM_HideWindow(). Quote from ter2: “I want to insert in _cbDialog - > case WM_INIT_DIALOG (as just done here), a switch-case that configure Buttons hide/show. ” A…
  • SEGGER - Florian -

    Replied to the thread Reducing size of xbf font.

    Post
    Hi, Due to the large amount of Chinese characters, a Chinese font is much larger than a font with only Latin characters. Every Chinese character has its own bitmap. What you could do to save memory is applying a pattern file to the font in the Font…
  • SEGGER - Florian -

    Replied to the thread Monitoring memory consumption.

    Post
    Hi, Thank you for your feedback, we appreciate it! If your hardware target does not support either of the two connection methods, you can run your project in the emWin simulation on a Windows PC instead and connect via TCP/IP. In the shipment under…
  • SEGGER - Florian -

    Replied to the thread Monitoring memory consumption.

    Post
    Hi, Quote from AlexSapego: “1. How can you see how much RAM is being used in the debugger? How can I see how many windows have been created? ” To monitor live memory usage and all windows with its properties, the tool emWinSPY can be used. The tool…
  • SEGGER - Florian -

    Replied to the thread XBF Font issue.

    Post
    Hi, the "MaxWidth" property is not actually relevant for the spacings between the characters. It holds the width of the character with the biggest xSize. When you read back the XBF font, the MaxWidth is 26 instead of 32, because the widest character…
  • SEGGER - Florian -

    Replied to the thread XBF Font issue.

    Post
    Hi, I was able to reproduce this issue. I will look into it and let you know once it is fixed. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Century gothic font support for french language.

    Post
    Hi, The issue has been fixed with V6.18. I would recommend that you update to the latest version which is emWin V6.22. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Century gothic font support for french language.

    Post
    Hi, Maybe you are using an older version of emWin and the issue has already been fixed. Can you tell me which version you are using? You can read this from the file GUI_Version.h. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Century gothic font support for french language.

    Post
    Hi, I have tried to reproduce this with the Gothic font that is installed under Windows 10, located at C:\Windows\Fonts\GOTHIC.TTF and the string was displayed correctly. It seems odd that only one of your TTF files is affected. Could you send me the…
  • SEGGER - Florian -

    Replied to the thread Century gothic font support for french language.

    Post
    Hi, To display any characters outside of the standard ASCII range (0x00-0x7F), you need to enable the UTF-8 encoding. You can do this by calling GUI_UC_SetEncodeUTF8() after GUI_Init(). Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread GUI_BMP_DrawEx() from SPI flash.

    Post
    Hi, Quote from ter2: “I have to foresee something in the App_get_data routine that returns 0 when the end of the image is reached? In the example you posted I don't see any reference to the _acsegger_logo length check. ” This check is not necessary,…
  • SEGGER - Florian -

    Replied to the thread GUI_BMP_DrawEx() from SPI flash.

    Post
    Hi, Quote from ter2: “How to chose which image to show ? ” Your program has to call GUI_DrawBMPEx() with the desired memory address as the parameter. Quote from ter2: “How do I indicate th size of the image ( in flash I only have an array)…
  • SEGGER - Florian -

    Replied to the thread In Switch widget Disabled state thumb bitmap not getting drawn.

    Post
    Hi, Do you mean that the text is still being displayed in the disabled state? This is normal behavior of the widget as there are only two text indices: SWITCH_TI_LEFT and SWITCH_TI_RIGHT. If you want to hide the text when the widget is disabled, you…
  • SEGGER - Florian -

    Replied to the thread In Switch widget Disabled state thumb bitmap not getting drawn.

    Post
    Hi, Thanks for pointing this out, I have fixed the issue. The fix will be released with the next emWin version V6.24. For now, you can fix this by setting a custom skinning routine to the SWITCH widget: C Source Code (27 lines) Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Disable focus re-drawing on GUIBuilder generated BUTTON.

    Post
    Hi, You can disable the focus ability of a widget with WIDGET_SetFocusable(). It makes sense to disable the focus in the WM_INIT_DIALOG case of your dialog callback: C Source Code (4 lines)Best regards, Florian
  • Hi, Unfortunately emWin does not provide such a function as of right now. You could do this with a function that draws an array of points as anti-aliased lines. The downside is that where the lines intersect the semi-transparent pixels will overlap…