summaryrefslogtreecommitdiff
path: root/textscreen/txt_table.c
AgeCommit message (Collapse)Author
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-08-27Allow PGUP/PGDN to scroll up and down in scroll panes (thanksSimon Howard
LionsPhil). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1631
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
2008-02-04Update chocolate-setup to the new screen mode config system.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1042
2006-10-11Shut up compiler warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 695
2006-09-26Add TXT_AddWidgets for adding multiple widgets to a table.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 672
2006-09-24Convenience function for creating a horizontal box.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 659
2006-09-21Fix some warnings in textscreen code.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 645
2006-09-19Fix textscreen warnings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 626
2006-09-19Check column is valid when finding a selectable column. Fixes weirdSimon Howard
scrolling behavior. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 620
2006-09-18Fix TXT_SelectWidgets with NULL spacers.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 615
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-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-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-23Add window action class for action area labels at the bottom of windows. Simon Howard
Adjust txt_table_t to expand tables to their maximum width when they only have one column (ensures separators reach the window edges). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 515
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-21Initialise the table selection on table creation.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 498
2006-05-21Always select a valid widget in a table before drawing the table.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 497
2006-05-20Make all windows be tables with one column.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 493
2006-05-20Add table class. Allow widgets with heights of more than one line.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 492