Commit Graph

139 Commits

Author SHA1 Message Date
Chris Young
cdaae7b30e Add a couple of context menu items for links for testing. 2015-09-03 19:57:04 +01:00
Chris Young
944248ce32 Rough outline for Intuition-based context menu 2015-09-03 00:24:04 +01:00
Chris Young
68c6ba3a70 fix OS3 build, avoid forward declarations 2015-02-23 23:16:34 +00:00
Chris Young
805c1a2dca Convert hook function definitions to macros in gui.c 2015-02-23 22:58:57 +00:00
Chris Young
e5b6dac87c Fix OS3 build
Fix font cache on OS3
2015-01-29 19:31:47 +00:00
Chris Young
0e3cbbb67b Don't schedule our own redraw after a reformat, as this is performed anyway.
Attempt to get menus working on OS3 build.
2015-01-29 19:18:49 +00:00
Michael Drake
e4437ad76b Store scale in gui_window. Remove a lot of bw dereferencing for scale. 2014-12-04 11:42:12 +00:00
Chris Young
0966b8097c Allocate screen title when first needed and keep it private to amiga/gui.c 2014-11-16 16:40:41 +00:00
Chris Young
20705189b9 Make win_destroyed variable private to amiga/gui.c 2014-11-16 16:31:35 +00:00
Chris Young
6ce6b9ae97 Replace curbw (current browser_window, used mostly for ARexx support) with cur_gw (current gui_window) 2014-11-16 16:01:59 +00:00
Chris Young
e3620ac675 Change clicktab userdata to hold gui_window instead of browser_window 2014-11-16 14:24:18 +00:00
Chris Young
1d50a2ff8a Remove unused variable 2014-11-16 14:08:00 +00:00
Chris Young
e75cdeeefd Don't make the app id a global var 2014-11-16 14:06:12 +00:00
Chris Young
b2fd904eef Make the SPACE_RenderBox compatibility functions public 2014-11-15 13:52:06 +00:00
Chris Young
80b195cdd5 Move the hscrollbar inside the window 2014-10-26 16:35:05 +00:00
Chris Young
0c77d85f89 Make window counting a generic function 2014-10-26 15:41:44 +00:00
Chris Young
a01cb0f635 Don't need redraw_scheduld as the scheduler stops it being scheduled twice anyway 2014-10-26 13:18:19 +00:00
Chris Young
f5d866ab70 Rename OID_VSCROLL to GID_VSCROLL and ensure it exists before referencing 2014-10-25 15:08:04 +01:00
Vincent Sanders
56a5ad11f3 remove unecessary include of browser.h in amiga frontend 2014-10-17 23:18:58 +01:00
Vincent Sanders
0b64df140c Update amiga frontend for split operation table header changes 2014-10-16 22:33:44 +01:00
Chris Young
846b534854 Recreate the entire menu when the hotlist window is closed.
This ensures the hotlist entries in the menu are in sync with reality, and mirrors the existing hotlist toolbar update.
2014-06-30 22:37:05 +01:00
Chris Young
0c5bb37bea Implement a very basic favicon cache for the hotlist menu to use 2014-06-29 22:35:52 +01:00
Chris Young
3de529d815 Change the search ico to be a chooser gadget with the icon as the display 2014-06-15 15:39:49 +01:00
Chris Young
cbf423d4c6 Try quitting after downloading if there are no windows open 2014-02-10 20:40:08 +00:00
Chris Young
9fd344172a Enforce the use of popupmenu.library >=53.11
Older versions have a dangerous bug which manifests itself as a deadlock or a crash.
2014-01-10 20:32:20 +00:00
Chris Young
c25728b011 Move new blank tab into own function 2014-01-03 18:17:25 +00:00
Chris Young
46a88fe8f4 Create the BitMapObjects and just switch between them.
Fix the themes so the images are correct.
2013-11-23 13:11:30 +00:00
Chris Young
50e038538a Add hotlist favourites star button 2013-11-23 12:23:56 +00:00
Chris Young
4a70c21215 Construct the menu in a new function, which also does basic layouting of any image menus. 2013-08-18 15:15:12 +01:00
Chris Young
33b8644ec2 Another attempt at creating image menus 2013-08-15 20:10:55 +01:00
Chris Young
9c49d5f090 Menu refactor 2013-05-18 15:34:25 +01:00
Chris Young
26dbb7a602 Avoid multiple schedules of redraws 2013-04-11 21:20:25 +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
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
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
e7ef916b53 Prevent deadlock during simple refresh damaged area redraw 2013-01-13 19:06:51 +00:00
Chris Young
cc321d5f63 Track the mouse pointer on a per-window basis 2013-01-06 00:21:15 +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
23dc635e1a Make hotlist toolbar work and update (only updates on hotlist window close currently) 2012-11-29 22:13:42 +00:00
Chris Young
168d09c878 Improve the look of the hotlist toolbar 2012-11-28 22:42:23 +00:00
Chris Young
09bc58f7c2 Create a toolbar from the "Toolbar" folder within the hotlist. Note: makes no attempt to either free the toolbar or make the toolbar work. 2012-11-28 19:29:43 +00:00
Chris Young
a5bd3d112c fix warnings 2012-10-11 20:13:38 +01:00
Michael Drake
45736594a1 Get presence of text input cleanly. 2012-08-20 22:03:59 +01:00
Chris Young
d577a48bb7 Abstract pen obtain/release and structure so we can add these to a physical browser window's list 2012-08-05 11:28:48 +01:00
Chris Young
286a128e1b Change menus so menu functions are called internally by window.class
(RA_HandleInput). This makes menu selection more reliable and stops us
missing menu events which appeared to be getting lost within the
HANDLEINPUT method.

svn path=/trunk/netsurf/; revision=13898
2012-04-29 15:59:37 +00:00
Chris Young
8d4678b04b Add AppWindow ourself rather than letting window.class create it. Initial
tests indicate we are no longer losing icon drop events although there is
still an "event leak" somewhere.
Fix warnings.

svn path=/trunk/netsurf/; revision=13894
2012-04-28 19:43:46 +00:00
Chris Young
9f08a052d0 Allow confining the pointer to part of the window during drags. Actually
we aren't acting on this for any current drag types, but if we need to do
so in the future (eg. frame resizing), this is the code to do it.  The trap
lasts 10 IntuiTicks so is re-asserted on every mouse move when an active
drag is in effect.  Drag type must be set to GDRAGGING_NONE to clear.

svn path=/trunk/netsurf/; revision=13401
2012-01-11 21:41:55 +00:00
Chris Young
10237e0bde Amiga frontend update for r13139
svn path=/trunk/netsurf/; revision=13140
2011-11-10 12:23:52 +00:00
Chris Young
ad8a965548 Start to consolidate user file operation into one file
svn path=/trunk/netsurf/; revision=13062
2011-10-15 14:09:35 +00:00