DropDown.txt 1.1 KB

123456789101112131415161718192021222324
  1. GUI ignores image in GUIContent for most elements.
  2. Doesn't belong here but as an additional reminder: Remove Component::initialize and instead make multi paramter addComponent
  3. GUIDropDownBox::openSubMenu
  4. - I need to provide a parent element, also I probably need a way to distinguish between original drop down box, and sub-menu one
  5. GUIContextMenu
  6. - GUIElements may specify a context menu, which is retrieved by GUIManager using GUIElement::getContextMenu
  7. - Menu is opened at the current mouse position (determined by GUIManager)
  8. - GUIContextMenu::open(x, y)
  9. - GUIDropDownBox is created with the root elements data
  10. GUIMenuBar
  11. - It has a specific position, width and height
  12. - It was a GUIArea and its root elements are represented as buttons
  13. - CLicking on a button will open up the menu, similar to context menu
  14. - GUIManager::openMenu(Vector<GUIDropDownData>, GUIElement* parent)
  15. Test separators
  16. Test expandable buttons
  17. - And hook up on mouse over
  18. - ALSO I need to close other menu at the same level upon mouse over on another element
  19. Test scrollUp/scrollDown