GUI - bitmaps, squares, ...

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
zetwal
Posts: 4
Joined: Mon Jun 14, 2004 9:58 pm

GUI - bitmaps, squares, ...

Post by zetwal »

Hi

I building a user interface. I have drawn a bitmap (a bit like in the user interface of techdemo - IGUIImage ) and now i'd like to draw
a 2D rectangle on top of it but i can't - the bitmap is always on top and the rectanlge that follows the cursor goes under the bitmap. Can anyone help me out with this please.

Cheers
thesmileman
Posts: 360
Joined: Tue Feb 10, 2004 2:20 am
Location: Lubbock, TX

Post by thesmileman »

I believe (someone please correct me if I am wrong) all gui elements are drawn last on top of everything else
joy
Posts: 124
Joined: Tue Apr 27, 2004 9:15 am
Location: Germany

Post by joy »

As I know you have to draw the bitmap explicit in the first place and afterward the rest.
Post Reply