Search Results

Search results 1-20 of 22.

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

  • [resolved]

    Selso - - emWin related

    Post

    Hello Sven ! Thanks for this reply, so I can already return a response about this features. I tested your example it is actually filling the empty zone, still there is some artefact when I don't use the item background, see capture attached... Its is as if the item does not fill the area between separators. OK I checked the manual and it defines top and bottom border by default (5 pix). Right, I think that the subject is resolved. Thank you.

  • As an alternative the WINDOW_SetBkColor() function could be used ?

  • Hello ! I have tried your code, changing the background in white and resizing the swipe list (see capture). This empty area is not the bakcground area. Maybe using a ownerdraw would help ? C Source Code (82 lines)

  • Hello Sven, Thanks for following my post Quote: “Quote: “ [img]http://forum.segger.com/wcf/icon/quoteS.png[/img] Quoted I've just changer screen size to 480x640 in order to be sure that the swipe list do not fille the screen area. ” But in your last example you create the SWIPELIST with the size of the screen, so it will always fill the complete screen. ” Yes it filling the area, but the item list is not, see my attached capture. I 'am checking your suggestion and tell you this result.

  • To be sur....

    Selso - - emWin related

    Post

    I have setup the x86 simulation and used the WIDGET_SwipeList. I've just changer screen size to 480x640 in order to be sure that the swipe list do not fille the screen area. then I try to fill the swipe list empty area in RED, and can't do it. should I define some processing in the WM_PAINT message ?

  • Quote: “"It seems you are using a precompiled version of emWin provided by ST. ” I actually link with the precompiled STemWin540_CM4_GCC_ot_ARGB, so I think I am using the ARGB color format. There is also the precompiled STemWin540_CM4_GCC_ot (ABRG version I think), would it better to use this version of library ? Quote: “"Have you made changes to the GUIConf.h" ” Yes, because I wanted to make changes easier, and explicitely use sdram attribute instead of setting a pointer to sdram area. ST code…

  • From what I remembered the png lib need to allocate at least 1 MB of memory (emwin replaced malloc function by emwin_alloc in the pool). I compiled the distributed lib by segger by my own with keil, in debug mode. I remembered that when missing memory the lib clearly pointed it out. Also it would be interesting to send us the call stack, or try using the fault analyzer in IAR (if there is one).

  • I also tried by replacing : Source Code (1 line) At begin of emwin_setStyle : Source Code (17 lines) The empty area of swipe list still stays black.

  • Hello ! Here is the part where I setup widget styles : Source Code (22 lines) In the header file : Source Code (37 lines)

  • Yes we do use this function to impact items colors : Source Code (2 lines) As documented, it only concerns item colors, the empty area is not concerned and stays black. We use st Emwin V5.40 : #define GUI_VERSION 54002 Regards, Selso.

  • Hello ! I would not write your code that way, the GUI_exec must be call continously : Source Code (25 lines)

  • Hello ! I would Have used : MULTIEDIT_SetText(Obj,"");

  • WIDGET EDIT "-" sign

    Selso - - emWin related

    Post

    Hello !! Have you tested emwin keypad example in SKINNING_Notepad.exe app, or the WIDGET_NumPad example ? Please also check that the font you are using also define the missing character. cheers, Selso.

  • You are giving a button a background color whether it is pressed or not. Why don't you use the button skinflex properties to set the background ? It's is made for changing button color depending on its state ?

  • Hello ! To my experience if you are using the emwin embbeded font you can't add directly caharacter. You'll have to use emwin font converter to generate a C file with all the characters you need.

  • Hi ! I'am intensively using the swipe liste widget. I used all the function API to change its apperance : SWIPELIST_SetDefault.... However I did not manager to change the black background that appears when items list do not fill the screen. I tried using WM_SetDesktopColor, WINDOW_SetDefaultBkColor, RAMEWIN_SetDefaultClientColor... but they do not impact the swipe background. I thought that the "separator item color" would be used ? Thank for any answer.

  • Thank you for this answer.

  • I used the GUI_BUILDER to create 2 screens and another one that is instanciated twice a child of the first 2 screens. Source Code (24 lines) I created for each dialog enums without taking care of unique ID, so the IDs for each is starting with : Source Code (1 line) I never experienced problem when using WM_GetDialogItem() in screens without child window. But when I have child window WM_GetDialogItem(handleScreen1, ID_LISTVIEW) returns a wrong ID, alias the handle of the widget in the child wind…

  • resolved

    Selso - - emWin related

    Post

    Hello ! I recently updated my project to STmCube 1.19 that ships emwin V5.40, and I confirm it resolves the crashes I experienced about using the deleteItem function and the setScrollPosItem function. Thanks to emwin team for this update !

  • Hello ! Actually I shall do that, I expected someone experienced these troubles. I'm using STMCube 1.15 that ships eminw 5.32 Searching the web I found the release notes in the emwin shipped with keil package : See what is saying Version 5.34f : "SWIPELIST widget: - Under certain circumstances deleting of single items does not work. Problem solved. " Friday I'll try to jump to STMCube 1.19, if the emwin release is still 5.32 I'll make a unit test. By the way, isn't there a method to completly cl…