rubasurex
29-06-2009 13:43:50
Hi Kungfoomasta,
I'm back to give QuickGUI another run. I've started setting up a pretty extensive GUI and here are some preliminary issues I've run into straight off the bat.
1. List appears to be missing methods to create specific list items that take the appropriate desc. i.e. the following methods appear to be missing. I can see ways to create these, but I figured methods like these will make it a lot easier.
2. ToolBar is missing a method to create a menu that takes the appropriate desc. Same deal as before.
3. Menu is missing methods to create specific menu items that take the appropriate desc. Same again
4. Why is TabPage* createTabPage(TabPageDesc* d, int index = -1) protected?
5. DescManager appears to pass a cached Desc when calling any of the getDefault*Desc() methods. This means that settings are retained from last use and if not reset causes strange behaviour. Correct me if I'm wrong, but I think these methods should be resetting their Desc before passing it.
6. Would be great if there was a MenuSeparatorItem widget that is used to create the horizontal rule you see in menus to separate logical groups of menu items.
7. When you have a ModalWindow open, you can still pass input to the underlying scene around the window. In my opinion, a modal window should block all user input so that mouse clicks anywhere outside the window are captured and discarded. Otherwise I find that I can modify my scene around an open modal window.
I'm back to give QuickGUI another run. I've started setting up a pretty extensive GUI and here are some preliminary issues I've run into straight off the bat.
1. List appears to be missing methods to create specific list items that take the appropriate desc. i.e. the following methods appear to be missing. I can see ways to create these, but I figured methods like these will make it a lot easier.
ListImageItem* createImageItem(ListImageItemDesc* d, int index = -1)
ListPanelItem* createPanelItem(ListImagePanelDesc* d, int index = -1)
ListTextItem* createTextItem(ListImageTextDesc* d, int index = -1)
2. ToolBar is missing a method to create a menu that takes the appropriate desc. Same deal as before.
Menu* createMenu(MenuDesc* d, int index = -1)
3. Menu is missing methods to create specific menu items that take the appropriate desc. Same again
MenuPanelItem* createPanelItem(MenuImagePanelDesc* d, int index = -1)
MenuTextItem* createTextItem(MenuImageTextDesc* d, int index = -1)
4. Why is TabPage* createTabPage(TabPageDesc* d, int index = -1) protected?
5. DescManager appears to pass a cached Desc when calling any of the getDefault*Desc() methods. This means that settings are retained from last use and if not reset causes strange behaviour. Correct me if I'm wrong, but I think these methods should be resetting their Desc before passing it.
6. Would be great if there was a MenuSeparatorItem widget that is used to create the horizontal rule you see in menus to separate logical groups of menu items.
7. When you have a ModalWindow open, you can still pass input to the underlying scene around the window. In my opinion, a modal window should block all user input so that mouse clicks anywhere outside the window are captured and discarded. Otherwise I find that I can modify my scene around an open modal window.