1 | | If a Menubar is above a BGLView then opening a menu and moving to the next menu has a bad visible effect (because of redrawing the bglview which takes time). |
2 | | To see better what i mean, thake that programm from haikuware |
3 | | http://haikuware.com/directory/view-details/games/3d/puri-master-of-chess |
4 | | and now open a menu let's say "Engine" then move to the right to "Tools". |
| 1 | If a BMenuBar is above a BGLView then opening a menu and moving to the next menu has a bad visible effect (because of redrawing the BGLView which takes time). |
| 2 | To see better what i mean, take that program from http://depot.haiku-os.org/puri and now open a menu let's say "Engine" then move to the right to "Tools". |
6 | | I think that problem could be solved, if "menubar" would be drawn first (because it doesnt overlap anything else) and then the menuitem. |
7 | | Because in the current siutation if you move from one menu to another, the menuitem are drawn, they overlap the bglview this causes the bglview to redraw and this takes time and just after that the menubar redraws. |
8 | | (i just guess, since i didnt look at the sourcecode) |
| 4 | I think that problem could be solved, if "BMenuBar" would be drawn first (because it doesn't overlap anything else) and then the BMenuItem. |
| 5 | Because in the current situation if you move from one menu to another, the menuitem are drawn, they overlap the BGLView this causes the BGLView to redraw and this takes time and just after that the menubar redraws. |
| 6 | I just guess, since i didn't look at the source code. |