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 image scrolling for horizontal with virtual screen..

    Post
    Hi, Virtual screens are an obsolete feature. What you want to do can be achieved by creating a large window (e.g. two times the horizontal size of your display) and using motion support for scrolling through the window. The Window Manager is a…
  • SEGGER - Florian -

    Replied to the thread How do I toggle visibility of an AppWizard text object from code?.

    Post
    Hi, Which version of AppWizard are you currently using? If you are using an older version, the error might have been fixed already. You can download the current version of AppWizard Trial V1.10_6.14g on our website. The main purpose of variables is to…
  • SEGGER - Florian -

    Replied to the thread emWin Library ARM Cortex-A5 (Armv7-A architecture).

    Post
    Hi, the functions needed to run AppWizard projects are already included in the AppWizard. You can evaluate the tool by downloading the trial version that you can find on our website. However, the trial version does not include BSPs, therefore you only…
  • SEGGER - Florian -

    Replied to the thread Multiple language support.

    Post
    Hi, you can save a font as an XBF file to store it on external memory. If the external memory is inaccessible, you will need a file system to access and read the files. Quote from anuj.tanksali: “Also is there a way to generate a single font file with…
  • SEGGER - Florian -

    Replied to the thread GUI_ALLOC_GetNumFreeBytes keeps decreasing with idle GUI.

    Post
    Hi, It is hard to say what is causing this behavior without any reference points. Could you provide an example to reproduce the behavior you are describing? Thanks in advance! Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread GUI_EditDec() GUI_EditHex() example?.

    Post
    Hi, the GUI_Edit...() functions are old functions that do not give any visual feedback on the screen. It's better to use an EDIT widget that is in decimal mode. You can create an EDIT and call EDIT_SetDecMode() to activate decimal mode. The EDIT also…
  • SEGGER - Florian -

    Replied to the thread Create chinese font.

    Post
    Hi, I noticed a few things: 1. You must not comment out the super-loop in your main-task when using the Window Manager. This will only work when only using GUI_... functions in the MainTask. Otherwise emWin isn't kept alive and no more routines will be…
  • SEGGER - Florian -

    Replied to the thread Handle redraw of specific parts of a dialog.

    Post
    Hi, widgets are essentially windows, but each with specific "widget properties" (like button color etc.). For the GIF animation it would normally make sense to use an IMAGE widget. But since you mentioned that the performance of the animation wasn't…
  • SEGGER - Florian -

    Replied to the thread Handle redraw of specific parts of a dialog.

    Post
    Hi, when calling WM_InvalidateRect() with the area specified to one of your drawings, only the parts in the area should be redrawed, as mentioned above. Is it possible to create a separate window for each of the three drawings you want to do? That way,…
  • SEGGER - Florian -

    Replied to the thread Handle redraw of specific parts of a dialog.

    Post
    Hi, a WM_PAINT case handles all the drawing operations that are done in a window. So you don't have to consider in the WM_PAINT case, which parts of the window you want to redraw. If you want to redraw a certain part of a window, you can use…
  • SEGGER - Florian -

    Replied to the thread Handle redraw of specific parts of a dialog.

    Post
    Hi, drawing of GIF images can become quite slow, depending on the GIF image. The more colors differ in a horizontal line, the longer it takes to draw the image. An animated gradient for example would have a big impact on performance. Also, the higher…
  • SEGGER - Florian -

    Replied to the thread Rounding the corners of a Box object in AppWizard.

    Post
    Hi, unfortunately, the AppWizard does not currently offer the possibility to draw rounded rectangles via the Box object. But such a feature definitely makes sense and we will consider adding it with a future release. As for now, you can create a window…
  • SEGGER - Florian -

    Replied to the thread Create chinese font.

    Post
    Hi, since a regular GUI_FONT is created from the XBF-file, the font can be used at any point where a font can be set, including widgets. Though it is crucial the pointers to GUI_FONT and GUI_XBF_DATA stay valid and the file is kept open while using the…
  • SEGGER - Florian -

    Replied to the thread Create chinese font.

    Post
    Hi, CreateFile() is a function provided by the Win32-API. It is used in the above example so it can be run in the emWin simulation on Windows. If you want to use an XBF font from external memory, your target needs a file system. You can then adapt the…
  • SEGGER - Florian -

    Replied to the thread Bitmap converter.

    Post
    Hi Pieter, The issue of incorrect output has been fixed since v5.50. You should note, when converting to best palette, the bitmap will be palette-based. This means, you will have to save the bitmap in an indexed format, such as 8bpp or RLE8. Otherwise,…
  • SEGGER - Florian -

    Replied to the thread emWin Migration/Update to latest version v6.14.

    Post
    Hi, emWin v5.44 is three years old, but you should be able to update without complications. We're keeping in mind to keep old code compatible, e.g. by adding a macro if a function is removed or renamed. If you encounter any problems when updating,…
  • SEGGER - Florian -

    Replied to the thread WM_DeleteWindow() during WM_TOUCH_CHILD processing.

    Post
    Hi, I was able to reproduce your issue. You are correct, the error occurs because the window still receives messages after being deleted. You can react on WM_TOUCH in the window that is to be deleted. When the window is touched and the state is…
  • SEGGER - Florian -

    Replied to the thread How to get Theta symbol in AppWizard?.

    Post
    Hi, you can simply add the symbol to the text of the object. Then you will have to edit the codepoints of the fonts used for the project. This determines which characters will be included in the font. Go to Edit -> Preferences -> Edit default…
  • SEGGER - Florian -

    Replied to the thread Bitmap Converter(ST) format RLE16 with transparency.

    Post
    Hi, You can convert an image into 'best palette with transparency', but you should note that only 1 bit will be used to store the transparency. This means semi-transparency is not possible. An image with 'best palette (and transparency)' can be saved as…
  • SEGGER - Florian -

    Replied to the thread MEMDEV Issue...

    Post
    Hi, first of all, you should make sure that GUI_Init() has been called at the beginning of your program. Then, after your drawing operations in a memory device are finished, you have to deselect the memory device by calling GUI_MEMDEV_Select(0). If…