Context menu.

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Chmel_Tolstiy
Posts: 41
Joined: Mon Feb 11, 2008 3:06 pm

Context menu.

Post by Chmel_Tolstiy »

I need a context menu with large depth of submenu.
for example DIR_1->DIR_2->DIR_3->DIR_4->DIR_5->ITEM

Problem with drawing of this structure.

In "windows" when submenu goes out of window it draws on other side of parent submenu but in irrlicht doesn't. Is it a bug ?
Bob Finnie
Posts: 49
Joined: Tue Jan 23, 2007 12:36 pm
Location: Bedford, UK

Post by Bob Finnie »

Probably not a bug but more of an unforseen circumstance.

I guess the best way round it is to modify the GUI rendering code to check the bounding box of your GUI as you draw it and reposition the elements accordingly if it is wider than the screen width.

Hope this helps
Post Reply