1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00
Commit Graph

41 Commits

Author SHA1 Message Date
Goddesen
23e4fe63d0 Use utf8 to measure cursor size in text input. 2016-07-11 02:15:15 +02:00
janisozaur
ca430e1b23 Drop unused variables (#3586) 2016-05-13 18:21:58 +01:00
janisozaur
68bad6505c Add and correct licence headers to all sources (#3108) 2016-05-04 18:24:41 +01:00
Ted John
489ea66cc9 add global macro for gCurrentFontSpriteBase and gCurrentFontFlags 2016-04-25 23:00:58 +01:00
IntelOrca
1daa657657 fix #3091: Korean words corrupted if over byte limit 2016-03-10 18:48:00 +00:00
zsilencer
66e406ab75 Fix #3048: Remove format codes in player names and chat 2016-02-29 21:33:46 -07:00
Michał Janiszewski
3bf1e0e06d Rename safe_strncpy to safe_strcpy 2016-01-18 20:49:52 +01:00
IntelOrca
43a5cc92cc define STR_NONE as a rct_string_id 2016-01-07 22:14:53 +00:00
IntelOrca
48e3d70e57 refactor colour maps 2015-11-08 18:55:32 +00:00
Michał Janiszewski
9284930d7e Add safe_strncpy function
safe_strncpy is similar to strncpy, but makes sure buffer is
null-terminated. Update most of project to use this updated function to
prevent illegal memory accesses.
2015-10-30 16:01:00 +01:00
Michał Janiszewski
7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
IntelOrca
fa87d8e999 implement utf8, part 14 2015-08-01 10:20:57 +01:00
IntelOrca
357111a560 implement utf8, part 11 2015-08-01 10:20:55 +01:00
IntelOrca
99c7c93764 implement utf8, part 9 2015-08-01 10:20:53 +01:00
IntelOrca
f906391c9d remove registers from window events and changed to typed signatures 2015-07-10 01:39:16 +01:00
Robert Jordan
02a9f1b535 Fixed #1247 font issues. 2015-06-06 21:18:20 -04:00
IntelOrca
6f1cd77f3c implement textinput_cancel and refactor textinput event calls 2015-05-28 01:15:58 +01:00
Miso Zmiric (Mike Squinter)
c2c9bbf4ef add twitch integration, part 2 2015-05-25 20:38:33 +01:00
Ted John
fa75053e08 Merge pull request #1058 from trigger-death/develop
Land tool painting and text input sizes
2015-05-13 18:33:05 +01:00
Robert Jordan
a8ec43f065 Select size strings now use args 2015-05-13 11:38:44 -04:00
Robert Jordan
af152c7d54 Another small fix
Used the wrong address in RCT2_GLOBAL
2015-05-13 10:34:40 -04:00
Robert Jordan
fdd8461af4 Simplified getting color 2015-05-13 10:29:50 -04:00
Robert Jordan
6e57291e2d Fixed textbox carot color 2015-05-12 17:06:26 -04:00
Duncan Frost
aa268dc307 Fix text input that is populated with text greater than max length 2015-03-15 14:41:43 +00:00
IntelOrca
66c302eb3d use new create_window_centred function 2015-02-14 18:26:59 +00:00
IntelOrca
ac4cd56b63 add new load / save window, closes #580 2015-02-14 02:16:03 +00:00
IntelOrca
a66b29076b move osinterface code to shared or windows 2015-02-12 20:51:40 +00:00
IntelOrca
fadeff9dda fix a few issues with object selection and track manage 2015-02-11 21:03:23 +00:00
Duncan Frost
ef72f66fa7 Moved text_input update to unknown7 function in order to force updates when paused. 2015-01-04 17:00:36 +00:00
Duncan Frost
153196a905 Remove redundant define 2014-12-22 16:55:17 +00:00
Duncan Frost
ba93cd337b Added dynamic window resizing on change of text. Fixed cursor display issue 2014-12-22 16:50:35 +00:00
Duncan Frost
f93aeb33c6 Added multi line text input 2014-12-22 10:40:00 +00:00
IntelOrca
ff478b8673 implement editor objective options window 2014-12-10 23:07:11 +00:00
Duncan Frost
04965ae9d2 Added home, end key. Now uses host window colours. 2014-10-16 21:50:03 +01:00
Duncan Frost
1c62a0c29d Cleaned up code, renamed variables, added comments. Switched over all existing text boxes to new code 2014-10-16 20:58:31 +01:00
Duncan Frost
edbfb43251 Added ok/cancel buttons. Added closing on main. 2014-10-16 20:58:30 +01:00
Duncan Frost
9a3aeed508 Added some of the suggested changes 2014-10-16 20:58:28 +01:00
Duncan Frost
9cb03a9d3e Fixed bugs in existing method. Now has correct title and description 2014-10-16 20:58:27 +01:00
Duncan Frost
cad821349b New technique for text input. 2014-10-16 20:58:26 +01:00
Duncan Frost
306310c5d9 Fix warning 2014-10-16 20:58:26 +01:00
Duncan Frost
b1721f217d Trying out a new technique for text input 2014-10-16 20:58:25 +01:00