82 int topLevelMenuIndex;
88 int getNumRows()
override;
89 void paintListBoxItem (
int,
Graphics&,
int,
int,
bool)
override;
90 void listBoxItemClicked (
int,
const MouseEvent&)
override;
92 void resized()
override;
96 void handleCommandMessage (
int)
override;
97 void addMenuBarItemsForMenu (
PopupMenu&,
int);
102 ListBox listBox {
"BurgerMenuListBox",
this};
105 int lastRowClicked = -1, inputSourceIndexOfLastClick = -1, topLevelIndexClicked = -1;
Holds a resizable array of primitive or copy-by-value objects.
The base class for all JUCE user-interface objects.
A graphics context, used for drawing a component or image.
A subclass of this is used to drive a ListBox.
A list of items that can be scrolled vertically.
Contains position and status information about a mouse event.
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...
Contains contextual details about the invocation of a command.