summaryrefslogtreecommitdiff
path: root/textscreen
AgeCommit message (Collapse)Author
2006-09-09Add command line arguments to main() in textscreen examples.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 602
2006-09-09Include SDL.h in the textscreen headers; the SDL headers need to be Simon Howard
included where main() is defined. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 600
2006-09-09Add reference counts on callback tables so that if a callback destroysSimon Howard
the widget that owns the callback the program doesnt crash. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 599
2006-08-31Add missing copyright notices to textscreen and setup files.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 590
2006-08-31Add dropdown listbox widgetSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 578
2006-08-31Exit the main loop automatically after all windows are closedSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 577
2006-08-31Add window listener functions to allow spying on keys and mouse buttonsSimon Howard
received by windows. Emit a 'closed' signal when a window is closed. Allow windows to have no action buttons. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 576
2006-08-31Change name of escape window actions to 'Close' and add a separateSimon Howard
'Abort' button creator. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 575
2006-08-31Center the calculator in the window.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 574
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-08-31Allow multiple callbacks for the same signal on widgetsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 572
2006-08-31Initialise string input boxes to not editingSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 571
2006-08-31More efficient TXT_Sleep function that puts the textscreen code to sleepSimon Howard
until an event is received or the screen needs to blink. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 570
2006-06-29Add inverted checkboxes (tick in box when value is false)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 565
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-06-02Make clicking on "accept" action buttons send enter keypresses to the window.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 554
2006-06-02Make mouse button presses on widgets actually do useful thingsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 553
2006-06-02Add utility functions to create "Abort" and "Accept" window actionsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 551
2006-06-02Draw the bottom separator in windows at the full window width.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 550
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-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-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-29Shut up compiler warnings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 540
2006-05-29Add strut class to allow table column width to be forced.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 539
2006-05-26Add key description for spacebar.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 533
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: 529
2006-05-25Allow the fg/bg colors to be set on labels.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 528
2006-05-25Build textscreen/ before textscreen/examples/Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 527
2006-05-24Move textscreen GUI demos into an examples/ subdir.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 524
2006-05-24Add small calculator GUI demo.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 523
2006-05-24Only allow digits to be typed in number input boxes.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 522
2006-05-23Add input box widget, and include in guitest.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 520
2006-05-23Make TXT_GetChar return the unicode value of the key pressed. For textSimon Howard
boxes. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 519
2006-05-23Add a default action to close windows when escape is pressed. Do notSimon Howard
make escape quit the program unless there are no open windows. Add TXT_ExitMainLoop(). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 518
2006-05-23Fix compiler warnings caused by missing includes.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 517
2006-05-23Add actions demonstration to guitest.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 516
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-23Eat keypresses when pressing buttons.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 514
2006-05-23Add TXT_GetKeyDescription() to provide descriptions of key codes.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 513
2006-05-22Updated GUI test which demonstrates signals used to update a label.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 512
2006-05-22Add TXT_SetLabel() function to set the label value.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 511
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-22More signals to detect when checkboxes/radiobuttons are changed.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 502
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-21Reformat source files in Makefile.am.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 500
2006-05-21Add radio button class.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 499