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 Prompt screen.

    Post
    Hi, have a look at the routines GUI_MEMDEV_BlendWinBk(), GUI_MEMDEV_BlurAndBlendWinBk() and GUI_MEMDEV_BlurWinBk(). The manual also has screenshots for these routines. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Multiple Buffering.

    Post
    Hi, there is so such display driver called GUI_DRVControl. Only GUIDRV_Lin supports multibuffering. All of the other display drivers use a cache instead. Best regards, Florian
  • Hello, I tried to reproduce your behavior but for me the arc remained consistent (see attached file). Can you send me your code or a sample so I can reproduce your error? Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Example for a PNG image being drawn using GUI_PNG_DrawEx.

    Post
    Hi, the wiki provides such an example, you can download it here. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Prompt screen.

    Post
    Hi, there are modal windows in emWin, you can call WM_MakeModal() on a window to achieve this behavior. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Text scrolling.

    Post
    Hi, yes, this can be done using animations. The manual explains how animations can be created, and you can find samples and a tutorial about animations in the Wiki. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Text scrolling.

    Post
    Hi, do you mean text wrapping? This can be achieved using the function GUI_DispStringInRectWrap(). As parameter for the wrap mode you can choose between char-wise wrapping (GUI_WRAPMODE_CHAR) and word-wise wrapping (GUI_WRAPMODE_WORD). If you mean text…
  • SEGGER - Florian -

    Replied to the thread Memory Leak with BUTTON_SetText() and WM_SetCallback().

    Post
    Hi, setting the bitmap pointer of a button to NULL is only required if the bitmap should not be shown in the button anymore. So it should be done when its appearance should change, but it isn't a necessary step when deleting a button. As I said,…
  • SEGGER - Florian -

    Replied to the thread multi formated text in one widget.

    Post
    Hi, to answer your first question: you can set the text alignment using MULTIEDIT_SetTextAlign(). I have attached a sample for you that controls the scrolling with buttons. This should answer your two other questions. If you have any questions about…
  • SEGGER - Florian -

    Replied to the thread multi formated text in one widget.

    Post
    Hi, the performance when using MULTIEDIT widgets will be much better compared to using motion support. I have attached a sample for MULTIEDIT widgets, I hope this helps. Best regards, Florian
  • SEGGER - Florian -

    Now follows SEGGER - Schoenen.

    Follow
  • SEGGER - Florian -

    Replied to the thread multi formated text in one widget.

    Post
    Hi, Quote from vikramtathe: “I have one more question that, Is it possible to adjust the spacing between the paragraphs? ” yes, since you are going to display strings in rectangles (GUI_RECT), you can define the position of the rectangles and thus…
  • SEGGER - Florian -

    Replied to the thread multi formated text in one widget.

    Post
    Hi, title and description with different colors/fonts in one line won't be easy to achieve. I'm not saying it is impossible, but it will be a lot of fiddling. So you might want to change your design, like the title could be placed above the text, so…
  • Hi, you have to make sure that the window that shows the text gets redrawn again. If you just display text, e.g. in your main task, and something else is drawn above the text, the text will be gone because it will not be redrawn again. I'm assuming you…
  • SEGGER - Florian -

    Replied to the thread Memory Leak with BUTTON_SetText() and WM_SetCallback().

    Post
    Hi, sorry for the late response. There are a few flaws in your code. First, it is necessary to call GUI_Init() in your main task to initialize emWin. Then, it doesn't really make sense to set a callback that only calls the default callback. But this…
  • SEGGER - Florian -

    Replied to the thread How to properly display background content.

    Post
    Hi, I can't exactly picture what is happening on your screen, it sounds like something is wrong in your window structure. The MULTIPAGE widget could be useful for your application. It is basically a window with multiple child windows that can be…
  • SEGGER - Florian -

    Replied to the thread Indirect sample interfaces.

    Post
    Hi, unfortunately I cannot offer you any kind of sample. To send and read data to/from the LCD controller, you have to set the function pointers in the structure GUI_PORT_API with routines that send a command (pfWrite8_A0), send one byte (pfWrite8_A1),…
  • SEGGER - Florian -

    Replied to the thread PROGBAR missing in AppWizard?.

    Post
    Hi, the PROGBAR widget has not (yet) been added to the AppWizard. However, it is possible to add any emWin widgets to AppWizard applications. To do that, export the code of the AppWizard project and go to the slot routine file located in the project…
  • SEGGER - Florian -

    Replied to the thread WM_NOTIFICATION_RELEASED: not being sent after a while..

    Post
    Hi, I didn't find anything unusual. But once again I couldn't execute it because there were files missing. Can you try to reproduce that behavior in a 'stand-alone' sample, ideally in one file? Thanks and best regards, Florian
  • SEGGER - Florian -

    Replied to the thread ICONVIEW with transparent Background.

    Post
    Hi, the bug that items of an ICONVIEW could not have transparent backgrounds has already been fixed with emWin V6.10h. You could clear the selection with ICONVIEW_SetSel(hIcon, -1). Quote from JanBurg: “May be using ICONVIEW is the wrong approach…