Friday, May 25th 2018, 5:11am UTC+2

You are not logged in.

  • Login
  • Register

Search results

Search results 1-20 of 587.

Wednesday, May 23rd 2018, 10:14am

Author: SEGGER - Schoenen

How to take screenshot of the GUI in embedded device?

Hi, You could create a screenshot of the screen in memory with GUI_BMP_Serialize() and afterwards send this BMP via USB. Regards, Sven

Wednesday, May 23rd 2018, 10:12am

Author: SEGGER - Schoenen

Ads7846.h touch not found

Hi, It is most likely that this driver is simply not present in the library you are using. You should contact Microchip, because we are not responsible for building the libraries provided by the silicon vendors. Regards, Sven

Wednesday, May 23rd 2018, 10:07am

Author: SEGGER - Schoenen

MAKE TRANSPARENT IMAGE BLINKING

Hi, Yes, you couldn't. I forgot to attach the file. Regards, Sven

Thursday, May 17th 2018, 2:26pm

Author: SEGGER - Schoenen

MAKE TRANSPARENT IMAGE BLINKING

Hi, Attached is an example which shows three different ways of letting an image blink. The first way is to create a dialog with an IMAGE widget and just hide/show the IMAGE widget each time a timer expires. The second is more or less the same but without a dialog. The IMAGE widget gets created as child of the desktop window. The third way is creating a simple window and manage drawing of the PNG in the callback. Quoted A) How can i make the image disapear ? See above. I guess the easiest way is ...

Tuesday, May 8th 2018, 3:36pm

Author: SEGGER - Schoenen

emwin calendar

Hi, On my end doesn't gets deleted when I select a date. I can't say why it behaves like this on your side. Regards, Sven

Tuesday, May 8th 2018, 3:33pm

Author: SEGGER - Schoenen

ListWheel without entry wrap around

Hi, Unfrotunately, this is not possible with the LISTWHEEL widget. You might take a look at the SWIPELIST widget. Regards, Sven

Tuesday, May 8th 2018, 10:52am

Author: SEGGER - Schoenen

emwin calendar

Hi, Simply react on WM_TOUCH of the parent window (the dialog in the example below) and delete the calendar. C/C++ Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 1...

Monday, May 7th 2018, 2:08pm

Author: SEGGER - Schoenen

GRAPH widget performance optimization

Hi, Good that it is working. You should get rid of the following line: C/C++ Source code 1 WM_SetCreateFlags(WM_CF_MEMDEV); and exchange it with: C/C++ Source code 1 WM_MULTIBUF_Enable(1); I guess you are using it to avoid flickering, but automatic memory devices should be used as a last option against flickering. It leads to unnecessary drawing operations (first drawing into a memory device and then drawing the memory device) and might have a big impact on the performance if not enough memory a...

Friday, May 4th 2018, 11:01am

Author: SEGGER - Schoenen

Listview: no touch screen

Hi, You can change the background and the text color of the LISTVIEW items to the color used for an unselected items. Try to configure your LISTVIEW like this (hItem is the handle of the LISTVIEW): C/C++ Source code 1 2 3 4 LISTVIEW_SetBkColor(hItem, LISTVIEW_CI_SELFOCUS, GUI_WHITE); LISTVIEW_SetBkColor(hItem, LISTVIEW_CI_SEL, GUI_WHITE); LISTVIEW_SetTextColor(hItem, LISTVIEW_CI_SELFOCUS, GUI_BLACK); LISTVIEW_SetTextColor(hItem, LISTVIEW_CI_SEL, GUI_BLACK); But this way you won't see which item ...

Monday, April 30th 2018, 4:40pm

Author: SEGGER - Schoenen

Prior Versions of emWin User Manual

Hi, Previous manuals are now available as download: https://www.segger.com/downloads/emwin Just click on older versions. Regards, Sven

Monday, April 30th 2018, 4:18pm

Author: SEGGER - Schoenen

about emwin simulator and emwin view

Hi, The easiest way might be to download the trial version of the emWin simulation (scroll down a bit to software): https://www.segger.com/downloads/emwin/ It has the same functionality as the fullversion, but shows a little trial hint on startup. To run the simulation you need Visual Studio or an IDE with MinGW compiler. If you are using Visual Studio (2015 or newer), please follow the instruction in the file HowTo_RunSimulationUnderVS2015_2017.txt. After opening the project just build it and r...

Friday, April 27th 2018, 5:02pm

Author: SEGGER - Schoenen

CHECKBOX background color

Hi, You could either set a custom callback for the checkbox and react on WM_TOUCH but simply do nothing: C/C++ Source code 1 2 hItem = WM_GetDialogItem(pMsg->hWin, ID_CHECKBOX_0); WM_SetCallback(hItem, _cbCheckbox); C/C++ Source code 1 2 3 4 5 6 7 8 9 static void _cbCheckbox(WM_MESSAGE * pMsg) { switch (pMsg->MsgId) { case WM_TOUCH: break; default: CHECKBOX_Callback(pMsg); break; } } Or you read the enabled flex skin properties and set them for disabled state. Then you can disable the checkbox b...

Friday, April 27th 2018, 2:40pm

Author: SEGGER - Schoenen

Creating a new window

Hi, Quoted So WM_SetStayOnTop() should be passed as 0 while deleting the window. No, just call it with 0 to make the window no more the top most. After calling the function with 0 any other window can become the top most again. When deleting, just call WM_DeleteWindow() and the window disappears. Regards, Sven

Friday, April 27th 2018, 2:37pm

Author: SEGGER - Schoenen

STM32F746 - Discovery emWin general setup

Hi, You might try our eval package for this board: https://www.segger.com/downloads/eval/Se…_EmbeddedStudio It includes all of our middleware components and you don't have to bother about configuring emWin. You need our IDE (which has no limitation), and you have to upgrade the ST-Link to a J-Link OB. You can download the required software here under the links below. Embedded Studio: https://www.segger.com/downloads/embedded-studio/ ST-Link Reflash Utility: https://www.segger.com/downloads/jlink...

Friday, April 27th 2018, 11:42am

Author: SEGGER - Schoenen

Creating a new window

Hi, You can create a window without passing a parent handle (just pass 0) and WM_SetStayOnTop(). This makes the given window to be the top most. Call this function again with 0 as second parameter to to clear the stay-on-top-flag. Regards, Sven

Friday, April 27th 2018, 11:39am

Author: SEGGER - Schoenen

MULTIEDIT slow

Hi, Unfortunately, I couldn't reproduce the issue regarding the slow down. To scroll horizontal you could use a scrollbar by calling MULTIEDIT_SetAutoScrollH(). Regards Sven

Friday, April 27th 2018, 11:19am

Author: SEGGER - Schoenen

CHECKBOX background color

Hi, If you are using the SkinFlex look for widgets (which is the default), some functions have no direct impact. This is also true for the checkbox. The area of the CHECKBOX consists of multiple colors (there is a small gradient), therefor it wouldn't make sense to set a single color. For these widgets you have to use the function <WIDGET>_GetSkinFlexProps() and <WIDGET>_SetSkinFlexProps() to modify their colors. Read the properties with the get-function, modify it and write the properties back ...

Friday, April 27th 2018, 11:00am

Author: SEGGER - Schoenen

MULTILAYER_AlphaChromaMove.c example not displayed in simulator as in picture 25.2.4 MultiLayer example of User & Reference Guide

Hi, Are you using the latest trial version of the simulation? Make sure you exclude the default LCDConf.c and SIMConf.c and use those from the example. The LCDConf.c from the example uses the GUIDRV_Lin driver so you have to change it to use the Win32 driver. Attached you will find the example to be used without the GUIDRV_Lin driver. Regards, Sven

Friday, April 27th 2018, 10:44am

Author: SEGGER - Schoenen

how to put a png or jpg image with transparency on a frame

Hi, In general you don't have to take care about anything. Only if you draw the PNG into a window and you want to see the background of the window you have to set the transparency flag for the window. Attached is an example. You can grab the window and move it around, it is transparent and draws a PNG. As far as I know there are no transparent JPEGs. Regards, Sven

Friday, April 27th 2018, 10:27am

Author: SEGGER - Schoenen

Text box while updating updates quite large area in the window

Hi, In general the clipping algorithm of the Window Manager takes care of only updating the area windows and widgets if they are invalid. The TEXT widget is transparent by default which causes the background to be redrawn (you will enter the WM_PAINT case of the window behind the widget). But only the area of the transparent widget gets drawn. If the widget is not transparent you will not enter WM_PAINT of the background because the background is not visible at all. In the example below there ar...