Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
I'd like to invert a bitmap image (to obtain a reverse video effect) when I choose the INVERT item of a pop-up menu (for examples). Because I don't want to manage expose event, I have first associated the original pixmap with the background of my window and then, freed the pixmap. Is there asolution to get back my pixmap ? How can I invert my window background ? Thanks for all suggestions. Maya
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2843.1 | STAR::KLEINSORGE | Fred Kleinsorge, VMS Development | Thu May 31 1990 12:59 | 8 | |
My understanding from long ago (wanting to use a clever hack for backing store) is that you can't. The server can do a bunch of server-specific optimizations that makes modifying the original background PIXMAP unreliable. You need to create a new PIXMAP and associate it with the (maybe a new?) window. | |||||
2843.2 | DECWIN::FISHER | Prune Juice: A Warrior's Drink! | Thu May 31 1990 18:57 | 5 | |
You can keep the pixmap (i.e. don't delete it after you set it as the back- ground) and then when you want to invert, do so in the pixmap and then set that pixmap as the background of the window again. Burns |