mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-01 15:50:27 +02:00
ComboBox API additions for minetest#13814
- Allow reliably detecting when the user opens a combobox. - Allow preventing comboboxes from opening. - Allow sending a combobox change event.
This commit is contained in:
@ -55,6 +55,10 @@ namespace gui
|
||||
//! sets the selected item. Set this to -1 if no item should be selected
|
||||
void setSelected(s32 idx) override;
|
||||
|
||||
//! Sets the selected item and emits a change event.
|
||||
/** Set this to -1 if no item should be selected */
|
||||
void setAndSendSelected(s32 idx) override;
|
||||
|
||||
//! sets the text alignment of the text part
|
||||
void setTextAlignment(EGUI_ALIGNMENT horizontal, EGUI_ALIGNMENT vertical) override;
|
||||
|
||||
|
Reference in New Issue
Block a user