Commit Graph

546 Commits

Author SHA1 Message Date
Chris Young
b086d04d8a If we are reformatting, delay the redraw slightly to avoid excessive consectutive redraws 2013-04-09 20:49:28 +01:00
Chris Young
78e7019479 Test enable "resize with contents" now we have queued/delayed redraws. 2013-04-09 20:32:58 +01:00
Chris Young
2db0024651 document and add missing include 2013-04-04 19:59:35 +01:00
Chris Young
90266d117c Schedule browser-initiated reformats too, with the caveat that a message of some description needs to arrive at the message port before the reformat will be queued (think this only affects scale changes). 2013-04-04 19:47:46 +01:00
Chris Young
6686d9dad8 Schedule redraws from local history too, hide ami_do_redraw and friends as only gui.c needs to call those directly now 2013-04-04 19:46:33 +01:00
Chris Young
c297f45bb9 Schedule redraws to prevent expected redraws from not happening when no events are occuring 2013-04-04 19:31:42 +01:00
Chris Young
22c7c1259b We are opening on a public screen, not a custom screen (even our own screen is a public screen) 2013-03-20 08:22:03 +00:00
Michael Drake
037beb44fb Pass caret clip rect out to front ends. (Nothing actually using them yet.) 2013-03-05 22:54:51 +00:00
Chris Young
4d9b674997 Remove struct selection from ami_file_save and anywhere that feeds into it 2013-02-22 19:02:58 +00:00
Chris Young
a86ff2ac2c Add missing flag 2013-02-18 16:24:58 +00:00
Vincent Sanders
15d39c6ebf fix remaining errors introduced in refactor 2013-02-18 13:05:23 +00:00
Vincent Sanders
0eb0798873 fix errors introduced in refactor 2013-02-18 12:24:49 +00:00
Vincent Sanders
529ca251fc rename flags for browser_window routines to be shorter 2013-02-18 11:51:42 +00:00
Vincent Sanders
b112dec78d change browser_window_create and refactor all callsites 2013-02-18 11:23:48 +00:00
Vincent Sanders
3bfb5b96a7 browser_window_navigate refactor 2013-02-18 11:23:27 +00:00
Chris Young
9fe2873f04 rationalise the removal of the box redraw queue 2013-02-13 20:23:17 +00:00
Chris Young
1809143ff3 Implement triple-click 2013-02-12 19:12:14 +00:00
Chris Young
af3ef0fb41 Queue fast scroll redraws same as any other box redraw 2013-02-10 12:13:39 +00:00
Chris Young
02115a8958 Optimise box redraws some more by discarding simple subsets 2013-02-06 18:44:41 +00:00
Chris Young
7c671378aa Don't add the same box redraw to the queue more than once 2013-02-05 19:44:21 +00:00
Chris Young
9c7031143f Use last known scroll pos, not current 2013-02-03 22:19:31 +00:00
Chris Young
b704ad3e88 Correct fast scroll co-ordinates 2013-02-03 19:30:11 +00:00
Chris Young
4c27d6dd8e Ensure scale can be accssed from the keyboard 2013-02-03 19:14:25 +00:00
Chris Young
34f1e427f9 Un-fix scaled box redraw, as it cause more problems than it solves 2013-02-03 19:10:30 +00:00
Chris Young
ccaeced4bf Make fast scroll code easier to read 2013-02-03 18:50:16 +00:00
Chris Young
871a8e7cba Fix scaled redraw of boxes 2013-02-03 18:21:28 +00:00
Chris Young
43fe4490d3 Defer the redraw of boxes. This fixes a redraw problem with form select menus. 2013-02-03 14:01:48 +00:00
Chris Young
89856f5592 ifdef some code that will never work under AmigaOS <4.0 2013-01-30 18:23:48 +00:00
Chris Young
a30d51cb50 Ensure we free the same size raster that we allocated 2013-01-27 11:09:54 +00:00
Chris Young
30dfa09008 Disable help for now, as it causes the popupmenu.class deadlock again 2013-01-24 20:16:35 +00:00
Chris Young
12890d3c60 Attempt fix screen close problem 2013-01-24 20:08:59 +00:00
Chris Young
18091ec1a9 Add basic context-sensitive help. 2013-01-24 20:00:09 +00:00
Chris Young
78e956607f Don't busy the pointer when removing the caret - it's pointless and flickery 2013-01-15 19:23:20 +00:00
Chris Young
8625933812 Expand the damaged area rectangle by one pixel each side to stop missing lines 2013-01-13 19:11:48 +00:00
Chris Young
e7ef916b53 Prevent deadlock during simple refresh damaged area redraw 2013-01-13 19:06:51 +00:00
Chris Young
453301f961 Fix fast scroll up 2013-01-12 14:06:48 +00:00
Chris Young
4011cc8671 Only set the busy pointer after we've decided not to bail out early 2013-01-06 11:40:37 +00:00
Chris Young
cc321d5f63 Track the mouse pointer on a per-window basis 2013-01-06 00:21:15 +00:00
Chris Young
07024b05c4 Change the mouse pointer back to what it was (and what NetSurf thinks it is) instead of to the default pointer. Additionally don't use ami_update_pointer for treeview windows as AmigaOS has a pointer setting per window, but NetSurf is only storing the current one as a single global variable. 2013-01-03 19:53:20 +00:00
Chris Young
dfc2fe6f97 gui_window_2 var should be gwin for consistency 2013-01-03 19:32:21 +00:00
Chris Young
625012a869 Set the busy pointer during redraws 2013-01-03 19:26:51 +00:00
Chris Young
8e416ec226 Ensure the menu checked state remain in sync with reality 2012-12-15 15:39:09 +00:00
Chris Young
ea5096fb8d These values shouldn't be declared static 2012-12-15 13:43:05 +00:00
Chris Young
08cb5a09b2 Work around a speedbar.gadget layout bug 2012-12-15 13:39:40 +00:00
Chris Young
ec7389a18f Update the current pressed qualifier keys at every RAWKEY event, as the update doesn't work during IDCMP_IDCMPUPDATE 2012-12-10 20:26:40 +00:00
Chris Young
02a4bfd375 Toggle the tab bar to the correct state if the option to always show it is changed and only one tab is currently open 2012-12-09 20:39:10 +00:00
Chris Young
083b7c0233 Enable persistent tab bar through tab_always_show option 2012-12-09 20:05:22 +00:00
Chris Young
0c54f2a902 Prevent multiple tabbars 2012-12-09 20:02:13 +00:00
Chris Young
24e1aff974 Reverse the logic as well as the req text 2012-12-09 20:00:59 +00:00
Chris Young
388ddc6dbd non-working "always show tabbar" option 2012-12-09 20:00:11 +00:00