summaryrefslogtreecommitdiff
path: root/textscreen/txt_window.c
AgeCommit message (Collapse)Author
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-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-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-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
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-19Split off text mode gui desktop code into a separate file. Rename someSimon Howard
of the functions in txt_gui.c. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 483
2006-05-18Add TXT_SetDesktopTitle()Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 482
2006-05-18Make TXT_AddWidget take a NULL pointer so different widget types canSimon Howard
be passed to it. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 481
2006-05-18Initial working text-mode GUI framework.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 480