mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-24 12:47:12 +01:00
Fix an another include error.
This commit is contained in:
parent
13eb5ab431
commit
c354d4304f
@ -37,6 +37,23 @@
|
||||
#include "scene/gui/shortcut.h"
|
||||
#include "scene/main/timer.h"
|
||||
|
||||
PopupMenu::Item::Item() {
|
||||
checked = false;
|
||||
checkable_type = CHECKABLE_TYPE_NONE;
|
||||
separator = false;
|
||||
max_states = 0;
|
||||
state = 0;
|
||||
accel = 0;
|
||||
disabled = false;
|
||||
_ofs_cache = 0;
|
||||
h_ofs = 0;
|
||||
shortcut_is_global = false;
|
||||
shortcut_is_disabled = false;
|
||||
}
|
||||
|
||||
PopupMenu::Item::~Item() {
|
||||
}
|
||||
|
||||
String PopupMenu::_get_accel_text(int p_item) const {
|
||||
ERR_FAIL_INDEX_V(p_item, items.size(), String());
|
||||
|
||||
|
@ -33,6 +33,8 @@
|
||||
|
||||
#include "scene/gui/popup.h"
|
||||
|
||||
class ShortCut;
|
||||
|
||||
class PopupMenu : public Popup {
|
||||
GDCLASS(PopupMenu, Popup);
|
||||
|
||||
@ -61,19 +63,8 @@ class PopupMenu : public Popup {
|
||||
bool shortcut_is_global;
|
||||
bool shortcut_is_disabled;
|
||||
|
||||
Item() {
|
||||
checked = false;
|
||||
checkable_type = CHECKABLE_TYPE_NONE;
|
||||
separator = false;
|
||||
max_states = 0;
|
||||
state = 0;
|
||||
accel = 0;
|
||||
disabled = false;
|
||||
_ofs_cache = 0;
|
||||
h_ofs = 0;
|
||||
shortcut_is_global = false;
|
||||
shortcut_is_disabled = false;
|
||||
}
|
||||
Item();
|
||||
~Item();
|
||||
};
|
||||
|
||||
Timer *submenu_timer;
|
||||
|
Loading…
Reference in New Issue
Block a user