Search Results
Search results 1-5 of 5.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Drawing a transparent child window above the parent which has a GUI_PNG_Draw in WM_Paint results in inconsistent UI
Raunaq - - emWin related
PostHi, But if it clear the parent window now, the image will be covered by this black parent window. Also, if I draw the png image again in WM_PAINT of parent window after GUI_Clear, won't it be memory intensive??
-
Drawing a transparent child window above the parent which has a GUI_PNG_Draw in WM_Paint results in inconsistent UI
Raunaq - - emWin related
PostHello, Thank you Florian, the mistake I was doing is setting the parent window to WM_CF_TRANS and not the child. But now I'm facing one more issue: When I try to display any text in childWindow using GUI_SetTextMode(GUI_TM_TRANS)... it starts overlapping. If I use GUI_Clear(), then it is repainting the child window with black color and transparency is lost
-
Drawing a transparent child window above the parent which has a GUI_PNG_Draw in WM_Paint results in inconsistent UI
Raunaq - - emWin related
PostFirst created a window : parentWindow.(0, 0, 480, 272) In this parentWindow's WM_PAINT: Using GUI_PNG_Draw posted a background image to the complete window In parentWindows's WM_CREATE: created a child window: childWindow with window Flags WM_CF_HASTRANS | WM_CF_SHOW (140, 11, 100, 250) In child window's WM_PAINT used GUI_AA_DrawArc to draw an arc every second (also used WM_TIMER) The child window is transparent but the behavior is becoming inconsistent after few seconds... Please help