Commit graph

174 commits

Author SHA1 Message Date
Simon Howard
4fba2ab2dd Add TXT_MessageBox convenience function.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2388
2011-09-20 20:47:19 +00:00
Simon Howard
96f7da6adf Hook query code into setup tool, and add search results window.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2383
2011-09-18 14:16:27 +00:00
Simon Howard
391e7466b1 Merge from trunk.
Subversion-branch: /branches/raven-branch
Subversion-revision: 2347
2011-06-13 22:21:37 +00:00
Simon Howard
30952764cf Fix libtextscreen window hotkeys to work when shift is held down /
capslock turned on. Fix a similar problem in-game when typing cheat
codes or using menu hotkeys (thanks Alexandre Xavier).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2327
2011-04-17 17:33:04 +00:00
Simon Howard
eb86fcdf30 Allow the shift key to be held down when changing key/mouse/joystick
bindings to prevent bindings to the same key from being cleared (thanks
myk).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2325
2011-04-11 19:49:45 +00:00
Simon Howard
d4ef7c3772 Fix action area minimum width calculation.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2324
2011-04-09 00:27:13 +00:00
Simon Howard
954eeae87e Close dropdown list popup windows when clicking outside the window.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2323
2011-04-04 20:30:17 +00:00
Simon Howard
eac4192d1b Fix crash.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2322
2011-04-04 20:12:59 +00:00
Simon Howard
fe9fc9e107 Fix crash.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2321
2011-04-04 20:09:42 +00:00
Simon Howard
9f3f6683d9 Change the background color when hovering over widgets.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2320
2011-04-04 20:07:07 +00:00
Simon Howard
a69af94b58 Scroll faster in reaction to the scroll wheel.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2310
2011-03-27 23:45:53 +00:00
Simon Howard
e339efa45f Switch separator to show "screen mode" or "window size" depending on
whether fullscreen is turned on or not.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2308
2011-03-22 21:33:17 +00:00
Simon Howard
bc087b49e2 Fix scrollbars so that clicks scroll the pane to a location that matches
the clicked location. Interpret mousewheel events so that scroll panes
can be scrolled.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2307
2011-03-22 21:08:04 +00:00
Simon Howard
a9996b41e9 Merge from trunk.
Subversion-branch: /branches/raven-branch
Subversion-revision: 2258
2011-02-12 15:38:08 +00:00
Simon Howard
a366f68b29 Fix bug with libtextscreen where it was not possible to type a '+'
(thanks Alexandre Xavier).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2249
2011-02-05 16:50:28 +00:00
Simon Howard
83fb03a0e0 When large numbers of screen resolutions are detected, increase the
number of columns in the mode list to fit them all on-screen. Remove
superfluous left-side spacing from the checkbox and radio button widgets
so that the modes can be packed closer together.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2242
2011-01-31 01:25:47 +00:00
Simon Howard
d1a3967194 Merge from trunk.
Subversion-branch: /branches/raven-branch
Subversion-revision: 2214
2010-12-10 23:46:22 +00:00
Simon Howard
8dab0a3e63 Merge from trunk. This is slightly out of date as I did the merge
several days ago.

Subversion-branch: /branches/raven-branch
Subversion-revision: 2212
2010-12-10 22:44:01 +00:00
Simon Howard
af3e4412d3 Change alignment of actions in a window's action area so that there is
equal space either side of the center widget. This is more aesthetically
pleasing.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2208
2010-12-10 20:43:05 +00:00
Simon Howard
56824b130b Replace txt_widget_t#selectable with a callback function to query
whether the widget is selectable. This stops the table code from
selecting things that aren't really selectable - eg. empty tables,
scrollpanes containing unselectable widgets, etc.
Fixes a bug with the warp menu (thanks Proteh).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2207
2010-12-10 20:31:46 +00:00
Simon Howard
2a786cc67e Allow textscreen font to be overridden using the TEXTSCREEN_FONT command
line variable.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2195
2010-12-05 14:42:09 +00:00
Simon Howard
1162b2c65c Merge from trunk.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1924
2010-04-30 20:53:31 +00:00
Simon Howard
6f8ac36f66 Add textscreen Doxyfile to dist. Add .desktop file to svn:ignore. Add
opl ctags file to localvimrc.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1922
2010-04-30 19:38:24 +00:00
Simon Howard
677729c658 Merge from trunk.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1845
2010-02-05 23:08:12 +00:00
Simon Howard
a9e2d244a5 Add tags files to svn:ignore properties.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1828
2010-01-27 19:16:26 +00:00
Simon Howard
7972eefbf4 Fix textscreen black border bug.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1745
2009-12-12 01:20:49 +00:00
Simon Howard
afa0c4c797 Merge from trunk.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1737
2009-11-21 16:36:46 +00:00
Simon Howard
9ea3cb62c9 Perform bounds checking on values passed to TXT_UpdateScreenArea() to
avoid crashes.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1728
2009-11-05 19:57:55 +00:00
Simon Howard
3771126689 Initial hacks for compiling under SDL 1.3.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1726
2009-10-26 19:28:12 +00:00
Simon Howard
410579ec66 Change British English spellings to American English, for consistency.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1699
2009-09-30 23:07:03 +00:00
Simon Howard
42f7a9b8a2 Use "const char" in libtextscreen where appropriate (thanks entryway).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1679
2009-09-20 15:27:40 +00:00
Simon Howard
ec81c27ef5 Allow PGUP/PGDN to scroll up and down in scroll panes (thanks
LionsPhil).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1631
2009-08-27 23:27:47 +00:00
Simon Howard
1715116ef1 Remove redundant variable assignment (thanks Quasar/Yagisan)
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1630
2009-07-20 22:27:59 +00:00
Simon Howard
0f5de61b74 Merge from trunk.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1596
2009-06-12 00:23:33 +00:00
Simon Howard
779a2157c0 Grab the input in setup when reading a new key binding, so that Windows
CE buttons are read properly. Map buttons to PC function keys.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1594
2009-06-11 19:41:20 +00:00
Simon Howard
ec03448333 Fix wince include. Use top_builddir instead of .. where appropriate.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1591
2009-06-11 00:32:17 +00:00
Simon Howard
122dcc372f Merge from trunk.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1579
2009-06-09 18:28:51 +00:00
Simon Howard
895f440628 Catch errors when initialising SDL. Use the small textscreen font by
default on Windows CE if no fullscreen modes are available.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1570
2009-06-07 16:41:46 +00:00
Simon Howard
0be19fa1fe Fix tags for functions using TXT_UNCAST_ARG.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1532
2009-05-26 22:14:24 +00:00
Simon Howard
664c359032 Merge from trunk. Note that src/i_sdlsound.c has not yet been merged as
it contains too many conflicts at present.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1522
2009-05-14 19:45:22 +00:00
Simon Howard
21d67cd730 Make txt_inputboxes emit a "changed" signal when their value is changed.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1520
2009-05-12 18:01:27 +00:00
Simon Howard
5859134e1c Better ASCII chart.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1509
2009-05-05 00:00:53 +00:00
Simon Howard
3b2481de03 Minor smallfont fixups.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1508
2009-05-04 23:46:27 +00:00
Simon Howard
c944d2ab2f Add copyright headers to textscreen examples.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1505
2009-05-01 21:05:57 +00:00
Simon Howard
30c46a6d70 More smallfont fixups.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1504
2009-04-26 16:59:08 +00:00
Simon Howard
8f2df5e7cf Fix up some extended ASCII characters.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1503
2009-04-23 19:58:11 +00:00
Simon Howard
40d03a9c38 Oops.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1502
2009-04-23 18:19:52 +00:00
Simon Howard
c2a270f893 Add small textscreen font for low resolution displays, based on the
Atari-Small font by Tom Fine.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1501
2009-04-23 18:18:43 +00:00
Simon Howard
6e2c404f64 Update from trunk.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1467
2009-03-12 22:20:07 +00:00
Simon Howard
f9c51c1b5c Add "make doc" target to run Doxygen, and add a Doxyfile. Add @file tags
to start of header files so that Doxygen will process them.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1451
2009-03-08 22:51:25 +00:00