summaryrefslogtreecommitdiff
path: root/textscreen/examples/guitest.c
AgeCommit message (Collapse)Author
2015-04-04textscreen: Add help URL functionality for windows.Simon Howard
This adds the ability to associate a URL with a window that gives some extra information about it and the configuration options found in it.
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-03-31Add file selector widget to textscreen library.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2570
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-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
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
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-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-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-24Move textscreen GUI demos into an examples/ subdir.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 524