[Gtkradiant] [Bug 88] loading a background image in the 2D view to use as a layout

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Fri, 25 Jan 2002 07:20:54 -0600


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=88





------- Additional Comments From natasdm@digital.net  2002-01-25 07:20 -------
Couple Questions, I don't see the source anywhere, but I have a little 
experiance putting bitmaps on the background of Dialogs and I could rig it to 
work in a View.  I persoanally override the ON_WM_ERASEBKGND() Message with a 
OnEraseBkgnd(CDC* pDC); function, and also to put static text over it, I 
override ON_WM_CTLCOLOR(); returning a transparent background brush with the 
forground as the text color I want.  Even if you were using Visual Studio, you 
would have to overide these by hand.

This could also be done for the View in the same manner (I would also add a GDI 
Bitblt to the ondraw()).

The level editor I'm working on for my game (although rudimentary) uses DirectX 
for it's graphics...I'm assuming the radiant Programs use OpenGL for support on 
linux cards, I have Zero Linux programing experiance.

NatasDM@digital.net



------- You are receiving this mail because: -------
Whoops!  I have no idea!