Commit Graph

113 Commits

Author SHA1 Message Date
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
Chris Young
049a3eb80a Fix search icon disappearing when layout size bar dragged
svn path=/trunk/netsurf/; revision=12790
2011-09-12 22:38:51 +00:00
Chris Young
7f6b694732 Show existing file size when file already exists on download
svn path=/trunk/netsurf/; revision=12618
2011-07-23 15:19:27 +00:00
Chris Young
e3447be7a3 Iconfication; only enabled when running on WB screen at present
svn path=/trunk/netsurf/; revision=12562
2011-07-03 11:05:18 +00:00
Chris Young
bb7408a56e When opening new tabs next to the active one, open them sequentially until the tab is
switched away from.  This is more akin to how Firefox etc do it.  Make this the
default.

svn path=/trunk/netsurf/; revision=12561
2011-07-02 22:40:45 +00:00
Chris Young
93941435b8 Decouple context menus from gui_window, ensure they get disposed on exit
svn path=/trunk/netsurf/; revision=12496
2011-06-23 17:35:35 +00:00
Chris Young
ed00b6a1e9 Make GUI update when back/forward commands used from ARexx
svn path=/trunk/netsurf/; revision=12455
2011-06-03 18:20:56 +00:00
Chris Young
e8ca07b0dc Redraw the area under a caret when it is cleared, rather than relying on a potentially
out-of-date off-screen copy of what used to be there.

svn path=/trunk/netsurf/; revision=12107
2011-03-19 13:00:45 +00:00
Chris Young
3cc3dcf1e1 Limit context menu history items to 10
svn path=/trunk/netsurf/; revision=11868
2011-02-28 23:46:49 +00:00
Chris Young
4a174fd670 Allow context menus in arbitrary positions outside the browsing area.
Add a Local History item to a new back button context menu, eventually this will give
a recent history list.

svn path=/trunk/netsurf/; revision=11858
2011-02-28 19:31:35 +00:00
John Mark Bell
625b59f61a First pass of AmigaOS 3 compatibility
svn path=/trunk/netsurf/; revision=11155
2010-12-30 00:53:11 +00:00
John Mark Bell
27b00696a3 Back out r11152 -- we're going to do this differently
svn path=/trunk/netsurf/; revision=11153
2010-12-30 00:33:18 +00:00
John Mark Bell
71fb6f282b Sprinkle some _t suffixes around
svn path=/trunk/netsurf/; revision=11152
2010-12-29 23:20:04 +00:00
Chris Young
96cb4b40e7 Allow double-clicks in main browser and middle button double-clicks in treeview
svn path=/trunk/netsurf/; revision=11083
2010-12-16 23:28:33 +00:00
Chris Young
078ff2fd51 Move drag icon stuff to own file; fix warnings
svn path=/trunk/netsurf/; revision=10922
2010-10-30 11:20:53 +00:00
Chris Young
bdf3c32f44 Only allow auto-scroll on selection and selection drags
svn path=/trunk/netsurf/; revision=10904
2010-10-24 17:51:00 +00:00
John Mark Bell
6173bb0e6c Merge treeview-redux to trunk
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
Chris Young
acf46e01a8 Allow text selection dragging across (NetSurf) windows. DisplayBeep if it is dropped
somewhere invalid.

svn path=/trunk/netsurf/; revision=10665
2010-07-27 21:41:21 +00:00
Chris Young
f7e3254798 Fix menu disable on tab switch and Cut
svn path=/trunk/netsurf/; revision=10661
2010-07-24 19:57:27 +00:00
Chris Young
004aee8281 Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging
selections within NetSurf window to text fields (does not work across windows).

todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is
putting something on the clipboard which causes a crash when pasting it back

svn path=/trunk/netsurf/; revision=10660
2010-07-24 16:39:37 +00:00
Chris Young
b6937419e1 Fix broken event handling.
Any structures attached to the window_list *must* have a struct nsObject * as their
first entry, and handle events outside of gui.c.

svn path=/trunk/netsurf/; revision=10332
2010-04-09 22:38:51 +00:00
Chris Young
5bb5cedec5 Changes required for new-cache
svn path=/trunk/netsurf/; revision=10186
2010-03-28 15:51:05 +00:00
Chris Young
861b5b4953 Factor Amiga theme-related code out to a new file. This includes all throbber and
mouse pointer code (which are "theme modifiable") as well as normal theme reading
code.

svn path=/trunk/netsurf/; revision=10145
2010-03-23 22:27:33 +00:00
Chris Young
c17ff1e9ae Squash memory leak and an offset problem related to helphints
svn path=/trunk/netsurf/; revision=10137
2010-03-17 22:15:03 +00:00
Chris Young
7220e03e7d Help hints, mainly for the tabs but also massage messages strings HelpToolbar0-4 & 14
into a format we can use on the main toolbar gadgets.  A couple of gadgets still
missing strings.

svn path=/trunk/netsurf/; revision=10134
2010-03-16 23:55:39 +00:00
Chris Young
04769b3f07 Remove caret when window is inactive, re-add when window becomes active again.
svn path=/trunk/netsurf/; revision=10133
2010-03-15 19:00:21 +00:00
Chris Young
da54611fb6 Try to avoid the tab switching if closing a tab other than the current one (doesn't
seem to work, the act of clicking close must implicity switch to that tab)
Remove extraneous Add Tab button layout group

svn path=/trunk/netsurf/; revision=10058
2010-02-14 15:32:54 +00:00