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 Reuse Animation.

    Post
    Hi, The delete callback can be used to e.g. free memory, but its purpose is not to restart the same animation. This can be done with the second parameter of GUI_ANIM_StartEx() which is the number of times the animation should be run. If you pass -1,…
  • SEGGER - Florian -

    Replied to the thread About GUI_KeyPad_Sample.

    Post
    Hi, Did you set all the necessary include paths to the emWin include directories and the Resource.h file in the Keil IDE? Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread AppWizard: Vertically Stacked Widgets - Select and Grow.

    Post
    Hi, I have attached an example on how a LISTVIEW appearance can be customized. The SWIPELIST widget might also be a viable option for your application. It is a list of items that the user can swipe through. The items can also hold bitmaps or other…
  • SEGGER - Florian -

    Replied to the thread Displaying string with different char colors.

    Post
    Hi, emWin's supported character range is Unicode 0x0000 - 0xFFFF. This means 24-bit or 32-bit UC characters are not supported. Unicode is enabled per default, this means you can pass any value in the 16 bit range to GUI_DispChar(). To display…
  • SEGGER - Florian -

    Replied to the thread AppWizard: Vertically Stacked Widgets - Select and Grow.

    Post
    Hi, for the purpose you are describing a LISTVIEW widget would probably be the best choice. Unfortunately, this widget has not been added yet to AppWizard. You would have to add the LISTVIEW via user code (there is an explanation on that in the user
  • SEGGER - Florian -

    Replied to the thread Displaying string with different char colors.

    Post
    Hi, With the routines GUI_DispString()/GUI_DispChar() you could switch colors or fonts between strings with ease since the last char position is saved by the routines. But I'm afraid there is no easy way to do this with GUI_DispStringInRectWrap(). You…
  • SEGGER - Florian -

    Replied to the thread Crash in GUI_ALLOC_Free during GUI_QR_Create.

    Post
    Hi, you can receive information about emWin's memory during runtime using these routines: - GUI_ALLOC_GetNumFreeBytes() - GUI_ALLOC_GetNumUsedBytes() - GUI_ALLOC_GetMaxUsedBytes() A QR code uses a 1bpp bitmap, since there are two colors. By the way,…
  • SEGGER - Florian -

    Replied to the thread AppWizard user input - keyboard and hard key emulation.

    Post
    Hi, with the current AppWizard version it is not possible to react on custom keys. This means the behavior would have to be implemented in the exported simulation project. I made an example application which reacts on the left and right arrow keys.…
  • SEGGER - Florian -

    Replied to the thread AppWizard user input - keyboard and hard key emulation.

    Post
    Hi, currently AppWizard only processes keys when an object is focused, that can receive key input. For example, a focused slider changes its value when the corresponding arrow keys are pressed. So as of right now, AppWizard does not offer an interaction…
  • SEGGER - Florian -

    Replied to the thread AppWizard QuickStartGuide Slider Demo Not Updating Text Value.

    Post
    Hi, the section of the Quick Start Guide you are referring to is a bit vague, since the "Use costum defined value" button was added to AppWizard in the meantime (after the Quick Start Guide was published). We will update the guide according to the new…
  • SEGGER - Florian -

    Replied to the thread play AVI.

    Post
    Hi, I am sorry to have given you wrong information in my previous post. In fact, emWin is also able to display AVI files. The user manual lists two requirements for AVI files: - The codec to be used in AVI file has to be MJPEG - The AVI file has to…
  • SEGGER - Florian -

    Replied to the thread Crash in GUI_ALLOC_Free during GUI_QR_Create.

    Post
    Hi, I was able to reproduce the crash and fix the bug. The crash occurs because emWin runs out of memory. The bitmap created by the QR routine is 485x485 pixels big, because the ModuleSize is 5px and the version number is 20. A version number of 20 sets…
  • SEGGER - Florian -

    Replied to the thread Crash in GUI_ALLOC_Free during GUI_QR_Create.

    Post
    Hi, You should make sure that GUI_Init() is called before you use any other emWin routines. Also, I didn't see a superloop in the files you sent. It isn't crucial for the routines you are using but necessary for Window Manager related routines. Best…
  • SEGGER - Florian -

    Replied to the thread Image widget callback function for GIF animation..

    Post
    Hi, have you set the WM_CF_HASTRANS flag to the IMAGE widget? Without the flag, a window will not be able to display any transparency. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Image widget callback function for GIF animation..

    Post
    Hi, I'm not really sure yet what could cause a behavior like this. Is the transparency index of the GIF correct? Does this issue only appear when using emWin and otherwise the transparency is shown correctly? Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Monospaced Font Structs With FontConverter and Emwin.

    Post
    Hi, this structure is undocumented meaning it is only used by emWin internally. The structure is only used for the monospaced fonts that are part of emWin (such as "FontMono8x16"). Font files generated by the Font Converter are not intended to be…
  • SEGGER - Florian -

    Replied to the thread Image widget callback function for GIF animation..

    Post
    Hi, with your code, the bitmap should be drawn into the IMAGE widget. Quote from anuj.tanksali: “GUI_DrawBitmap(&image1, 50, 260); ” What are the dimensions of the IMAGE widget? Note that when drawing inside the WM_PAINT case of a window/widget,…
  • SEGGER - Florian -

    Replied to the thread Crash in GUI_ALLOC_Free during GUI_QR_Create.

    Post
    Hi, creating a QR code allocates memory, although they aren't very memory intensive. Basically, the function allocates memory to create a 1bpp bitmap which is the QR code. A 1bpp bitmap would have to be about 400x400px big to require 20kB of…
  • SEGGER - Florian -

    Replied to the thread GUI_BARCODE_Draw in STemWin.

    Post
    Hi, you can check when a version was released via the "Manual versions" table in the emWin manual. V5.44 was released November 15th, 2017. The latest version is V6.16. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread GUI_BARCODE_Draw in STemWin.

    Post
    Hi, which version of STemWin are you using? GUI_QR_CreateFramed() was added to emWin with V6.12, while GUI_BARCODE_Draw() has been released since V6.10. Best regards, Florian