summaryrefslogtreecommitdiff
path: root/textscreen/examples
AgeCommit message (Collapse)Author
2014-05-05Clean up file headers.Simon Howard
This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
2014-04-01textscreen: Use safe string functions.Simon Howard
Define TXT_{StringCopy,StringConcat,snprintf,vsnprintf} as analogs of the m_misc.c versions so that the textscreen library does not need a dependency on the Doom code, and change all textscreen code to use these instead of unsafe functions. This fixes #372.
2013-04-01Merge from trunk.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2577
2013-03-31Add file selector widget to textscreen library.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2570
2012-10-28Merge from trunk.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2537
2012-02-03Upgrade the input box and label widgets to use UTF-8 strings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2491
2010-12-10Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 2214
2010-12-10Replace txt_widget_t#selectable with a callback function to querySimon Howard
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-02-05Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1845
2010-01-27Add tags files to svn:ignore properties.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1828
2009-06-11Fix wince include. Use top_builddir instead of .. where appropriate.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1591
2009-05-01Add copyright headers to textscreen examples.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1505
2009-01-30Fix layout of widgets within scroll panes. Scroll scroll panes inSimon Howard
response to keyboard events. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1440
2009-01-29Shrink text box slightly.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1439
2009-01-29Add scrollable pane widget to textscreen library.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1437
2008-12-09Add SDL_CFLAGS, SDL_LDFLAGS to default compile flags, and check for SDLSimon Howard
in configure before checking for libraries and headers, to fix Windows. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1412
2007-06-09Add *.exe to svn:ignore.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 899
2007-02-24Fix library ordering for libtextscreen.a; fixes windows compile.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 841
2007-01-06Set svn:ignore properties on directories.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 824
2006-10-24Shut up compiler warnings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 728
2006-10-24Detect failures to initialise textscreen library and bomb out with anSimon Howard
error mess age. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 727
2006-09-26Add TXT_NewButton2 for creating a button with a callback (for convenience).Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 673
2006-09-25Make examples call TXT_Shutdown before quit.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 669
2006-09-20Add spin control widget.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 635
2006-09-19Fix textscreen warnings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 626
2006-09-09Add command line arguments to main() in textscreen examples.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 602
2006-08-31Center the calculator in the window.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 574
2006-06-20Always add a bit of padding inside windows (removes the need to add paddingSimon Howard
explicitly in labels). Set the window title from the desktop title. Only draw widget selection highlight in the window with focus (top window). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 560
2006-05-29Add ability to make widgets right aligned or centered within tables.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 546
2006-05-29Convert calculator example to strutsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 545
2006-05-29Add textscreen.h top level header to avoid having to include all txt_*Simon Howard
headers individually. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 542
2006-05-29Allow struts to force height as well as width. Hide "start game" buttonSimon Howard
for players which are not the game controller. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 541
2006-05-29Shut up compiler warnings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 540
2006-05-25Allow NULL to be added to tables to specify a spacer (empty cell).Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 530
2006-05-25Allow the fg/bg colors to be set on labels.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 528
2006-05-24Move textscreen GUI demos into an examples/ subdir.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 524