diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-15 02:40:34 +0100 |
---|---|---|
committer | shfil <filip.gawin@zoho.com> | 2021-01-17 21:33:53 +0100 |
commit | 448e41ecaa66483c4cf764fdeb66a857a42719cf (patch) | |
tree | 15074cca348cdfcb33e45ecf3ae011dea6f68953 /src/extras/frontendoption.h | |
parent | Includes overhaul, fix some compiler warnings (diff) | |
download | re3-448e41ecaa66483c4cf764fdeb66a857a42719cf.tar re3-448e41ecaa66483c4cf764fdeb66a857a42719cf.tar.gz re3-448e41ecaa66483c4cf764fdeb66a857a42719cf.tar.bz2 re3-448e41ecaa66483c4cf764fdeb66a857a42719cf.tar.lz re3-448e41ecaa66483c4cf764fdeb66a857a42719cf.tar.xz re3-448e41ecaa66483c4cf764fdeb66a857a42719cf.tar.zst re3-448e41ecaa66483c4cf764fdeb66a857a42719cf.zip |
Diffstat (limited to 'src/extras/frontendoption.h')
-rw-r--r-- | src/extras/frontendoption.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extras/frontendoption.h b/src/extras/frontendoption.h index dbd1a300..8b64335a 100644 --- a/src/extras/frontendoption.h +++ b/src/extras/frontendoption.h @@ -82,10 +82,10 @@ uint8 GetNumberOfMenuOptions(int screen); void FrontendOptionSetCursor(int screen, int8 option, bool overwrite = false); -// var is optional in AddDynamic, enables you to save them in an INI file(also needs passing char array to saveName param. obv), otherwise pass nil/0 +// var is optional in AddDynamic, enables you to save them in an INI file(also needs passing char array to and saveCat saveKey param. obv), otherwise pass nil/0 void FrontendOptionAddBuiltinAction(const char* gxtKey, int action, int targetMenu = MENUPAGE_NONE, int saveSlot = SAVESLOT_NONE); -void FrontendOptionAddSelect(const char* gxtKey, const char** rightTexts, int8 numRightTexts, int8 *var, bool onlyApplyOnEnter, ChangeFunc changeFunc, const char* saveName = nil, bool disableIfGameLoaded = false); -void FrontendOptionAddDynamic(const char* gxtKey, DrawFunc rightTextDrawFunc, int8 *var, ButtonPressFunc buttonPressFunc, const char* saveName = nil); +void FrontendOptionAddSelect(const char* gxtKey, const char** rightTexts, int8 numRightTexts, int8 *var, bool onlyApplyOnEnter, ChangeFunc changeFunc, const char* saveCat = nil, const char* saveKey = nil, bool disableIfGameLoaded = false); +void FrontendOptionAddDynamic(const char* gxtKey, DrawFunc rightTextDrawFunc, int8 *var, ButtonPressFunc buttonPressFunc, const char* saveCat = nil, const char* saveKey = nil); uint8 FrontendScreenAdd(const char* gxtKey, eMenuSprites sprite, int prevPage, int columnWidth, int headerHeight, int lineHeight, int8 font, float fontScaleX, float fontScaleY, int8 alignment, bool showLeftRightHelper, ReturnPrevPageFunc returnPrevPageFunc = nil); #endif |