Commit Graph

36 Commits

Author SHA1 Message Date
Ted John
b36e4794e8 Update src/openrct2-ui/scripting/CustomWindow.cpp
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2020-05-01 17:19:19 +01:00
Ted John
00f78cc8fa Use ScreenCoordsXY for tab image offset 2020-05-01 13:53:28 +01:00
Ted John
65303a9f00 Fix spinner decrement buttons 2020-05-01 00:41:20 +01:00
Ted John
4ddc119886 Fix compile errors 2020-05-01 00:10:25 +01:00
Ted John
98249c777d Implement string tooltips for plugins 2020-05-01 00:06:58 +01:00
Ted John
4501173c0d Implement custom window tabs 2020-04-30 23:42:28 +01:00
Ted John
ca98ffc697 Implement onClose event for custom windows 2020-04-26 16:01:03 +01:00
Ted John
c67962577a Rename __ENABLE_SCRIPTING__ to ENABLE_SCRIPTING 2020-04-26 14:35:08 +01:00
Ted John
c1ab8b0b31 Apply suggestions from code review
Co-Authored-By: Breno Rodrigues GuimarĂ£es <brenorg@gmail.com>
2020-04-26 14:35:07 +01:00
Ted John
4c45e0ceb0 Remove use of .value() 2020-04-26 14:35:07 +01:00
Ted John
2f525e0539 Apply more code review comments 2020-04-26 14:35:07 +01:00
Ted John
7f9ff121b1 Fix rebase 2020-04-26 14:35:07 +01:00
Ted John
b7b1920a79 Fix build 2020-04-26 14:35:06 +01:00
Ted John
119b24a6ff Show selected index on custom dropdowns 2020-04-26 14:35:06 +01:00
Ted John
098e6839e2 Fix build after rebase 2020-04-26 14:35:06 +01:00
Ted John
4d5e7f19ca Implement surface style API and improve plugin calling 2020-04-26 14:35:04 +01:00
Ted John
4d221341da Improve string handling and allow window update 2020-04-26 14:35:04 +01:00
Ted John
09c8c6d508 Implement window colours API 2020-04-26 14:35:04 +01:00
Ted John
5c1fabec56 Implement API for spinners 2020-04-26 14:35:04 +01:00
Ted John
9dd9e600b5 Implement API for image buttons 2020-04-26 14:35:04 +01:00
Ted John
e6341f0a42 Get scripting compiling on clang 2020-04-26 14:35:03 +01:00
Ted John
bac91cd563 Allow scripting to be compile-disabled 2020-04-26 14:35:03 +01:00
Ted John
a5c8ff920f Add game mutable protection 2020-04-26 14:35:03 +01:00
Ted John
639faa2085 Fix GCC issues 2020-04-26 14:35:03 +01:00
Ted John
0c1ed7b509 Implement APIs for bringToFront, findWidget etc. 2020-04-26 14:35:02 +01:00