summaryrefslogtreecommitdiff
path: root/textscreen/examples/calculator.c
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.
2009-05-01Add copyright headers to textscreen examples.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1505
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-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-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-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