summaryrefslogtreecommitdiff
path: root/textscreen/txt_widget.h
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.
2013-03-31Fix Doxygen comments.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2576
2011-10-23Rework textscreen focus handling so that input boxes will stop editingSimon Howard
when they lose their focus (thanks Twelve). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2460
2011-04-04Change the background color when hovering over widgets.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2320
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-09-20Use "const char" in libtextscreen where appropriate (thanks entryway).Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1679
2009-03-08Add "make doc" target to run Doxygen, and add a Doxyfile. Add @file tagsSimon Howard
to start of header files so that Doxygen will process them. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1451
2009-03-07Add documentation for high-level textscreen functions.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1449
2006-09-21Fix some warnings in textscreen code.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 645
2006-08-31Add missing copyright notices to textscreen and setup files.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 590
2006-08-31Add TXT_SelectWidget function to select a widget in a table,Simon Howard
TXT_SetColumnWidths to set table column widths. Don't send key presses to unselectable widgets. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 573
2006-06-02textscreen: Rejig how the entire drawing process works. Add a recursiveSimon Howard
layout method that assigns the position and size of widgets for the whole window before drawing. Add another method that responds to mouse button presses. Allow windows to have no title bar by specifying NULL as the title. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 547
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-22CAST -> TXT_CAST_ARG, UNCAST -> TXT_UNCAST_ARG.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 509
2006-05-22Add casting macros to allow for easy casts between types.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 503
2006-05-22Add a signals architecture to allow callbacks on GUI events.Simon Howard
Make all widget classes initialise widgets by calling TXT_InitWidget. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 501
2006-05-20Add table class. Allow widgets with heights of more than one line.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 492
2006-05-20Add main loop function and forward key presses to widgets.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 490
2006-05-20Add selectable and visible properties to widgets. Allow the position ofSimon Howard
windows to be set based on position of top/bottom/center,left/right,center coordinates. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 486
2006-05-18Initial working text-mode GUI framework.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 480