summaryrefslogtreecommitdiff
path: root/textscreen
AgeCommit message (Collapse)Author
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-10-23Stackable clip areas (useful for a future implementation of scrollableSimon Howard
panes). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 713
2006-10-11Shut up compiler warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 695
2006-10-07Add float spin control and use it for the acceleration controller in setup.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 692
2006-10-06Alternate textscreen palette that fits the Tango desktop guidelines: seeSimon Howard
http://uwstopia.nl/blog/2006/07/tango-terminal Subversion-branch: /trunk/chocolate-doom Subversion-revision: 690
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-26Add TXT_AddWidgets for adding multiple widgets to a table.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 672
2006-09-25Make examples call TXT_Shutdown before quit.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 669
2006-09-24Convenience function for creating a horizontal box.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 659
2006-09-24Debug code for drawing an ASCII chart.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 658
2006-09-24Use proper arrow characters on spin controls and change their color.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 657
2006-09-24Fix declaration of TXT_NewWindowSelectActionSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 656
2006-09-22Add the ability to type in values for spin controls, like with normalSimon Howard
input boxes. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 651
2006-09-21Rename Accept to Select.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 648
2006-09-21Fix some warnings in textscreen code.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 645
2006-09-21Use NULL for initialising pointers rather than 0.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 644
2006-09-21Fix a lot of warnings (for fussy compilers) and one always-true checkRussell Rice
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 641
2006-09-20Add spin control widget.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 635
2006-09-19Fix textscreen warnings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 626
2006-09-19'widgets' variable was used uninitialised. For some reason this didn't Simon Howard
always crash! Subversion-branch: /trunk/chocolate-doom Subversion-revision: 624
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-09-18Add function to set button label.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 614
2006-09-18Repeat key presses when the key is held down - thanks to Mad_Mac for thisSimon Howard
one :-) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 613
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