summaryrefslogtreecommitdiff
path: root/textscreen/txt_scrollpane.c
AgeCommit message (Collapse)Author
2014-04-29textscreen: Fix jump when clicking on scrollbars.Simon Howard
Clicking on a scrollbar should scroll the cursor to that location, but the logic for it was buggy because of loss of precision when doing an integer divide. When dividing by bar_max, seek up to the nearest value so that the cursor always arrives where we clicked. Thanks to Alexandre-Xavier for reporting this bug. This fixes #359.
2011-10-23Merge from trunk.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2464
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-09-18Hook query code into setup tool, and add search results window.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2383
2011-04-04Change the background color when hovering over widgets.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2320
2011-03-27Scroll faster in reaction to the scroll wheel.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2310
2011-03-22Fix scrollbars so that clicks scroll the pane to a location that matchesSimon Howard
the clicked location. Interpret mousewheel events so that scroll panes can be scrolled. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2307
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-03-06Fix signed/unsigned conversion warning.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1448
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
2009-01-29Allow clicking within scroll bars to set position.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1438
2009-01-29Add scrollable pane widget to textscreen library.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1437