From a71f5cfd9d27d271d5e13e2ebc2f598ac9026b78 Mon Sep 17 00:00:00 2001 From: Areloch Date: Sat, 11 Jul 2020 15:58:39 -0500 Subject: [PATCH] Missed header changes --- Engine/source/gui/editor/popupMenu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Engine/source/gui/editor/popupMenu.h b/Engine/source/gui/editor/popupMenu.h index 4750f44d2..2925b8ace 100644 --- a/Engine/source/gui/editor/popupMenu.h +++ b/Engine/source/gui/editor/popupMenu.h @@ -107,7 +107,7 @@ public: /// returns the menu item's ID, or -1 on failure. /// implementd on a per-platform basis. /// TODO: factor out common code - S32 insertItem(S32 pos, const char *title, const char* accelerator, const char* cmd); + S32 insertItem(S32 pos, const char *title, const char* accelerator, const char* cmd, S32 bitmapIndex = -1); /// Sets the name title and accelerator for /// an existing item. @@ -143,6 +143,9 @@ public: ///Clears all items void clearItems(); + ///Gets the text of a given item + String getItemText(S32 pos); + //----------------------------------------------------------------------------- /// Displays this menu as a popup menu and blocks until the user has selected /// an item.