Commit graph

8 commits

Author SHA1 Message Date
Simon Howard
74f35cea77 textscreen: Add widget for conditionally hiding.
A common pattern when using libtextscreen is to want to show or hide
particular UI components depending on the values of particular
variables. It is also common to want to only add things to the UI if
a particular boolean condition is true. Add a new conditional widget
to cover the first case, and a convenience TXT_If() function for the
latter.
2016-06-05 00:04:59 -04:00
Simon Howard
7684ddcfd8 Clean up file headers.
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-05-05 00:20:54 -04:00
Simon Howard
3ac144025a Add file selector widget to textscreen library.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2570
2013-03-31 18:46:25 +00:00
Simon Howard
5a122d591e Add scrollable pane widget to textscreen library.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1437
2009-01-29 22:54:13 +00:00
Simon Howard
7768cfde84 Add spin control widget.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 635
2006-09-20 18:05:10 +00:00
Simon Howard
c0d6fcfe03 Add missing copyright notices to textscreen and setup files.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 590
2006-08-31 20:40:48 +00:00
Simon Howard
2fd49a65af Add dropdown listbox widget
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 578
2006-08-31 18:12:05 +00:00
Simon Howard
22b0863185 Add textscreen.h top level header to avoid having to include all txt_*
headers individually.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 542
2006-05-29 20:00:41 +00:00