jhgorse Community Member

  • Member since Jul 9th 2014
Last Activity

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

  • jhgorse -

    Posted the thread Use AppWizard font in emWIn.

    Thread
    How do I access the AppWizard font in emWin? I see the variable acArial_24_Normal_EXT_AA4 is used for the "Arial_24_Normal_EXT_AA4.xbf" font. I see the AppWizard API call APPW_GetFont(). I cannot seem to get APPW_GetFont() to return 0 (success). No…
  • jhgorse -

    Replied to the thread Troubleshooting emWin Animation Performance.

    Post
    Florian, I started implementing this alpha animation and realized there is no way I know of to generically apply alpha mask to a window widget except via GUI_MEMDEV_FadeInWindow and GUI_MEMDEV_FadeOutWindow. A BUTTON or BOX may have alpha to their…
  • jhgorse -

    Replied to the thread Troubleshooting emWin Animation Performance.

    Post
    Florian, Thank you for the compliment. =) I had thought about using animation to blend alpha and blur as well, for fun. The requirement is to blend. Sequentially (blocking mode) is sufficient, though in parallel may be acceptable as well. Because I…
  • jhgorse -

    Replied to the thread Troubleshooting emWin Animation Performance.

    Post
    Florian, I removed the GUI_Lib/GUI.lib and GUISim_GUI_USE_ABGR.zip to fit the 1 MB requirement. You will need to re-add GUI_Lib/GUI.lib. Steps to reproduce 1. Compile and run the simulation. 2. Press Down arrow key to focus the first row. 3. Press…
  • jhgorse -

    Replied to the thread Troubleshooting emWin Animation Performance.

    Post
    Florian, Yes, those are the routines. The animations occur before and after the fade in/out, sequentially. I need to strip the code to make an example. Cheers, Joe
  • jhgorse -

    Posted the thread Troubleshooting emWin Animation Performance.

    Thread
    Greetings, I have a custom widget I am making that expands a row when it is selected, then fades in the window for editing. The expansion animation and the fade in work fine. The fade out does not, nor does the returning animation unless I immediately…
  • jhgorse -

    Replied to the thread Fade Window Object onto Window Below.

    Post
    Reviewing some of the relevant forum ports more closely, it appears I may need to set up the widget's callback to handle a message that triggers the FadeIn/FadeOut. I am currently using the FadeIn/FadeOut methods on BUTTON widgets. References: Proper
  • jhgorse -

    Replied to the thread Fade Window Object onto Window Below.

    Post
    I tried running `GUI_MEMDEV_FadeOutWindow()` elsewhere by sending a message to the parent window's callback function. It still did not fade. However, when I run `GUI_MEMDEV_FadeOutWindow` immediately after the `GUI_MEMDEV_FadeInWindow` then it does…
  • jhgorse -

    Replied to the thread Fade Window Object onto Window Below.

    Post
    Found what seems to be the most relevant API calls: Source Code (2 lines) `GUI_MEMDEV_FadeInWindow()` works when called from an animation OnDelete callback. But `GUI_MEMDEV_FadeOutWindow()` does not work when called from the GUI_KEY callback hook, which…
  • jhgorse -

    Posted the thread Fade Window Object onto Window Below.

    Thread
    Hello, I am looking to fade the topmost Window Object onto the the Window behind it. The topmost Window will have some Button widgets on it that need faded in and out as well. Is there an easy way to manipulate the transparency of a Window Object and…
  • jhgorse -

    Replied to the thread Reuse Animation.

    Post
    This worked. Thank you, Florian! Next animation step is to fade in buttons. Will look into the fading example: wiki.segger.com/Memory_Device_-_Fading_(Sample) Cheers, Joe
  • jhgorse -

    Posted the thread Reuse Animation.

    Thread
    Hello, I have an animation that starts when a button is released in emWin. The animation expands the button's lower Y boundary. When it finishes, the delete callback re-creates the animation for re-use. It animates the inverse motion to go back to the…
  • jhgorse -

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

    Post
    It looks like there are at least three ways to do this starting with AppWizard. They all resort to using emWIn. First, customize the LISTVIEW widget. Second, two screens with the two layouts. Trigger an Interaction by the button and transition to the…
  • jhgorse -

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

    Thread
    Hello, Source Code (21 lines) Once it is selected, it expands and the other elements below it move down to make space. Is there a good way to do this with AppWizard Interactions? Cheers, Joe
  • jhgorse -

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

    Post
    The demo works. Thank you, Florian. I did have to tweak the GUIConf.c to make one of the #ifdefs go around the entire GUI_SPY_* block. Attached is r2 of the HardKeyTest demo. Same instructions as above to simulate: 1. Save & Export from AppWizard 2.…
  • jhgorse -

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

    Post
    Sounds good. Thank you, Florian!
  • jhgorse -

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

    Post
    Florian, Good to hear that it would make sense for the roadmap! In the mean while, what might you recommend for the Play Mode development knowing that the inputs will eventually be hardkeys? I see so far that AppWizard has great support for mouse…
  • jhgorse -

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

    Thread
    Greetings, What is the preferred method for mapping keyboard keys to UI actions in AppWizard? For example, I have a UI that will have hard keys mapped to up, down, left, right, select. How can I listen to keyboard keypresses with the Play…
  • jhgorse -

    Posted the thread AppWizard QuickStartGuide Slider Demo Not Updating Text Value.

    Thread
    Greetings, AppWizard V1.10_6.14 has a nice QuickStartGuide AN03003 PDF available in the menu->Help->Open Quick Start Guide. Running through it I got stuck on 3.9 Adding Text, step 4 which adds the interaction to update the number in the text box as the…