diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-07-11 23:11:11 +0200 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-08-01 12:56:09 +0200 |
commit | 192190769db6faeafb32e951cf4db6e021ac833e (patch) | |
tree | dc0a6f4c23ac4afa7f065bc198c29253ad902b04 /src/extras/frontendoption.h | |
parent | Fix radio scroll when player controls disabled (diff) | |
download | re3-192190769db6faeafb32e951cf4db6e021ac833e.tar re3-192190769db6faeafb32e951cf4db6e021ac833e.tar.gz re3-192190769db6faeafb32e951cf4db6e021ac833e.tar.bz2 re3-192190769db6faeafb32e951cf4db6e021ac833e.tar.lz re3-192190769db6faeafb32e951cf4db6e021ac833e.tar.xz re3-192190769db6faeafb32e951cf4db6e021ac833e.tar.zst re3-192190769db6faeafb32e951cf4db6e021ac833e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/extras/frontendoption.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/extras/frontendoption.h b/src/extras/frontendoption.h index 05cd5fa0..db1b9021 100644 --- a/src/extras/frontendoption.h +++ b/src/extras/frontendoption.h @@ -35,6 +35,8 @@ typedef void (*ReturnPrevPageFunc)(); typedef void (*ChangeFunc)(int8 before, int8 after); // called after updating the value. // only called on enter if onlyApplyOnEnter set, otherwise called on every value change +typedef void (*ChangeFuncFloat)(float before, float after); // called after updating the value. + // for dynamic options typedef wchar* (*DrawFunc)(bool* disabled, bool userHovering); // you must return a pointer for right text. // you can also set *disabled if you want to gray it out. |