diff options
author | alberth <alberth@openttd.org> | 2015-03-01 08:17:14 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2015-03-01 08:17:14 +0000 |
commit | a5843149b5c134c5712f98c2c25ee994d2739243 (patch) | |
tree | 4cf328a695a0e006b0cc5c5b550a3bf13d65022a /src/script/api/script_window.hpp | |
parent | a4756c477d5203bf898cd6509af8b3cdb325e4f0 (diff) | |
download | openttd-a5843149b5c134c5712f98c2c25ee994d2739243.tar.xz |
(svn r27174) -Feature[FS#6236]: Display relative offset changes in the sprite aligner (juzza1).
Diffstat (limited to 'src/script/api/script_window.hpp')
-rw-r--r-- | src/script/api/script_window.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/script/api/script_window.hpp b/src/script/api/script_window.hpp index 300b38d60..f1d2c5b19 100644 --- a/src/script/api/script_window.hpp +++ b/src/script/api/script_window.hpp @@ -1800,10 +1800,12 @@ public: WID_SA_RIGHT = ::WID_SA_RIGHT, ///< Move the sprite to the right. WID_SA_DOWN = ::WID_SA_DOWN, ///< Move the sprite down. WID_SA_SPRITE = ::WID_SA_SPRITE, ///< The actual sprite. - WID_SA_OFFSETS = ::WID_SA_OFFSETS, ///< The sprite offsets. + WID_SA_OFFSETS_ABS = ::WID_SA_OFFSETS_ABS, ///< The sprite offsets (absolute). + WID_SA_OFFSETS_REL = ::WID_SA_OFFSETS_REL, ///< The sprite offsets (relative). WID_SA_PICKER = ::WID_SA_PICKER, ///< Sprite picker. WID_SA_LIST = ::WID_SA_LIST, ///< Queried sprite list. WID_SA_SCROLLBAR = ::WID_SA_SCROLLBAR, ///< Scrollbar for sprite list. + WID_SA_RESET_REL = ::WID_SA_RESET_REL, ///< Reset relative sprite offset }; /* automatically generated from ../../widgets/newgrf_widget.h */ |