Posted 15 August 2017 - 06:23 AM
So you know those menus that slide out when you click an arrow, showing a side menu or side bar information? I would like to put that on my remote control program but there is a small problem…
How do I get it to redraw what was there before the sidebar menu was opened? E.g. I open the sidebar menu and it overlays what's currently on the screen, then I close the menu and the whole screen is just blanked because I had to clear it to close the menu (or just that part of the screen if you clear those specific pixels). How do I get it to overlay, then redraw what was there?
I don't want to do the "remember what was called last" because that's just dodgy. Buffers are kind of an option, but I've never used them before and don't plan on starting anytime soon.
Can anyone share some advice?
How do I get it to redraw what was there before the sidebar menu was opened? E.g. I open the sidebar menu and it overlays what's currently on the screen, then I close the menu and the whole screen is just blanked because I had to clear it to close the menu (or just that part of the screen if you clear those specific pixels). How do I get it to overlay, then redraw what was there?
I don't want to do the "remember what was called last" because that's just dodgy. Buffers are kind of an option, but I've never used them before and don't plan on starting anytime soon.
Can anyone share some advice?