Re: [Visualoberon-win32] Bitmaps
Status: Beta
Brought to you by:
tteuling
From: Stewart G. <sgr...@ip...> - 2001-06-11 09:14:57
|
Tim Teulings wrote: > > It seems that bitmaps are not implemented in the current version of > > VO/Win32. I will need them to do double-buffering. > > > If someone has is working on this, let me know. Otherwise, I'll have an > > attempt at it next week. > > I did implement them and AFAIK I did send the relevant code. Bitmaps > are working for me as tested with the last tab in XTest > (VO:WriteFrame.Mod). > > I'm adding the current source code to this message, perhaps the message > got lost... OK. I tried the bitmaps and they seem to work. Animation is certainly smoother. For me, colours drawn into bitmaps don't come out when copied into a window. For example, the attached view comes out black, white, and red when drawn directly into the window. When drawn via a bitmap it comes out black and grey (grey is my default background colour). Red seems to be mapped to grey. I can't see anything obviously wrong with Display.Mod. If noone has an obvious solution, I'll take a deeper look. In the example, set UseBitmap in GraphView.Mod to control whether or not a bitmap is used. Cheers, Stewart |