Dear emWin-users,
hereby I want to ask you for some help:
First I set a background image (converted with the Bitmap converter into c-file) and everything is working perfect. So far so good....
GUI_SelectLayer(0); // select background layer
GUI_DrawBitmap(&bmScreen, 0, 0);
After that I want to display a value, e.g. a counter ( int i) which is constantly changing. It also works perfect.
The default background behind this value is black. (a rectangle area behind the white value)
So I use the SetTextMode-function: GUI_SetTextMode(GUI_TM_TRANS) to remove this black background in order to have only the changing value "i" in white and my image background behind it-->
And it really shows the value without the black rectangle , but the problem is that the previous value stays and it writes the new one over it (it is not removed and overwritten, so it becomes absolutely not readable). I thing the black rectangular area is serving for deleting the old value and writes the new one over it...
could help with some suggestions....
Greetz
Ivo
hereby I want to ask you for some help:
First I set a background image (converted with the Bitmap converter into c-file) and everything is working perfect. So far so good....
GUI_SelectLayer(0); // select background layer
GUI_DrawBitmap(&bmScreen, 0, 0);
After that I want to display a value, e.g. a counter ( int i) which is constantly changing. It also works perfect.
The default background behind this value is black. (a rectangle area behind the white value)
So I use the SetTextMode-function: GUI_SetTextMode(GUI_TM_TRANS) to remove this black background in order to have only the changing value "i" in white and my image background behind it-->
And it really shows the value without the black rectangle , but the problem is that the previous value stays and it writes the new one over it (it is not removed and overwritten, so it becomes absolutely not readable). I thing the black rectangular area is serving for deleting the old value and writes the new one over it...
could help with some suggestions....
Greetz
Ivo