Michael Drake
d9bd357802
Move browser window related control over mouse pointer out of html content handler.
2012-08-16 22:44:25 +01:00
Michael Drake
35fd2ad7f2
Don't use GUI_POINTERs in content handlers.
2012-08-16 22:21:08 +01:00
Michael Drake
cb9781e057
Move bw time recording to bw layer.
2012-08-16 21:35:42 +01:00
Michael Drake
f04845b2cf
Broadcast message for drag save start and avoid messing inside bw.
2012-08-16 20:39:45 +01:00
Michael Drake
6daf6c178d
Frame drag start function can take child bw. Don't need to get root bw in html handler. Avoids bw dereferences.
2012-08-16 16:14:15 +01:00
Michael Drake
195a77a4cd
Make new function for starting a frames resize and use it.
2012-08-16 15:55:20 +01:00
Michael Drake
7277ce5dfc
Remove redundant "action" param.
2012-08-16 15:43:14 +01:00
Michael Drake
83c8e940f8
Don't pass status to frames handler.
2012-08-16 15:38:06 +01:00
Michael Drake
02d5589dfa
When dragging frames, we're done handling mouse.
2012-08-16 15:23:09 +01:00
Michael Drake
a736775bbd
Avoid doing html->bw->current_content.
2012-08-16 13:25:59 +01:00
Michael Drake
4872bc30b8
Remove redundant scrollbar widget message.
2012-08-16 13:13:25 +01:00
Michael Drake
e5928ebd5f
Broadcast explict status messages for mouse hovers via content msg system, rather than using the browser window.
2012-08-15 19:01:54 +01:00
Daniel Silverstone
24894214bc
Include dom/dom.h where it might be needed
...
svn path=/trunk/netsurf/; revision=13625
2012-03-24 20:55:22 +00:00
Vincent Sanders
1490b52a6b
NetSurf options rework (a=vince r=daniels,jmb)
...
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Michael Drake
ee378aa3f1
Set/get drag type via API.
...
svn path=/trunk/netsurf/; revision=13496
2012-02-28 12:54:00 +00:00
Michael Drake
c9a30d073e
Check drag type via accessor.
...
svn path=/trunk/netsurf/; revision=13495
2012-02-28 12:21:36 +00:00
Michael Drake
046ee36430
Use browser window scale accessor.
...
svn path=/trunk/netsurf/; revision=13493
2012-02-27 22:44:59 +00:00
Michael Drake
d2253eee8f
Don't need root bw here any more.
...
svn path=/trunk/netsurf/; revision=13396
2012-01-11 14:29:44 +00:00
Michael Drake
04ece30fa9
Pass pointer constraints for drag out to front ends. Ensure content scrollbar drag termination always informs the browser window layer that the drag is over.
...
svn path=/trunk/netsurf/; revision=13395
2012-01-11 14:20:26 +00:00
Michael Drake
c08ee82076
Allow drag handlers to inform browser window layer of any pointer range constraints.
...
svn path=/trunk/netsurf/; revision=13394
2012-01-10 22:02:19 +00:00
John Mark Bell
f2993e6ed0
content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url
...
svn path=/trunk/netsurf/; revision=13236
2011-12-04 14:55:23 +00:00
Michael Drake
898b01e721
More conversion to nsurl. (box->href, object params, imagemaps, (i)frames)
...
svn path=/trunk/netsurf/; revision=12933
2011-10-03 20:28:29 +00:00
Michael Drake
36eff6da2b
Port more internals to nsurl. Front ends may need updating.
...
svn path=/trunk/netsurf/; revision=12926
2011-10-03 15:56:47 +00:00
John Mark Bell
74395ac888
Restartable box tree constructor. Yield between elements.
...
svn path=/trunk/netsurf/; revision=12912
2011-09-29 19:15:54 +00:00
Michael Drake
318803d382
Pass html_content to imagemap_get, instead of hlcache_handle.
...
svn path=/trunk/netsurf/; revision=12752
2011-09-06 16:26:02 +00:00
Michael Drake
fb8d73567a
Move to new frame dimensions. Need to avoid poking inside bw struct here.
...
svn path=/trunk/netsurf/; revision=12748
2011-09-06 10:27:42 +00:00
Michael Drake
6e3e168d08
Avoid instance of using bw->current_content outside desktop/.
...
svn path=/trunk/netsurf/; revision=12690
2011-08-31 17:53:40 +00:00
John Mark Bell
63cc03a5dc
Fix GCC 4.6 warnings in core
...
svn path=/trunk/netsurf/; revision=12629
2011-07-26 21:30:38 +00:00
Michael Drake
9c91893028
Fix selection for non-gui browser windows (iframes).
...
Selection no longer uses current_redraw_browser.
Fix long-standing selection bugs on platforms that use action on release behaviour.
svn path=/trunk/netsurf/; revision=12598
2011-07-13 13:20:26 +00:00
Michael Drake
bc91b72c56
Clean up text input code. Now desktop/textinput.{c|h} is concerend with browser windows only. HTML content specific stuff moved to render/textinput.{c|h} and disassociated from browser windows.
...
svn path=/trunk/netsurf/; revision=12587
2011-07-07 17:50:04 +00:00
Michael Drake
d284ac14d9
Front end gets root browser window on notification of scrollbar widget drag start.
...
svn path=/trunk/netsurf/; revision=12533
2011-06-28 21:16:37 +00:00
Michael Drake
5c9155e606
Core form select widget now associated with HTML contents. Don't use current_redraw_browser for select widget redraw. Fixes core select widget in iframes.
...
svn path=/trunk/netsurf/; revision=12522
2011-06-28 11:15:39 +00:00
Michael Drake
e70d4947ea
Use interface for turning off drag.
...
svn path=/trunk/netsurf/; revision=12521
2011-06-28 10:07:53 +00:00
Michael Drake
c9fe1b604e
HTML contents manage box scrollbars, rather than browser_windows.
...
svn path=/trunk/netsurf/; revision=12519
2011-06-27 22:21:15 +00:00
Michael Drake
23eea5de9f
Fix bw->drag_type to be aware of remaining drag types.
...
svn path=/trunk/netsurf/; revision=12514
2011-06-27 17:29:49 +00:00
Michael Drake
92323b7808
Code style fix. Thanks Kinnison.
...
svn path=/trunk/netsurf/; revision=12504
2011-06-24 13:04:05 +00:00
Michael Drake
2fb134bac7
Fix mouse action offsets within scaled iframes.
...
svn path=/trunk/netsurf/; revision=12503
2011-06-24 12:23:10 +00:00
Michael Drake
53f4da3420
First pass at core iframes. Currently lacking scrollbars.
...
svn path=/trunk/netsurf/; revision=12474
2011-06-14 20:00:18 +00:00
Michael Drake
d41dcfa780
Fix content drags within scrollable areas. Various tidyups.
...
svn path=/trunk/netsurf/; revision=12378
2011-05-11 08:34:33 +00:00
Michael Drake
ac447fc293
s/scroll/scrollbar/ and improve scrollbar widget comments.
...
svn path=/trunk/netsurf/; revision=12363
2011-05-09 22:49:17 +00:00
John Mark Bell
e71691bae8
Merge branches/jmb/content-factory to trunk
...
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Michael Drake
6c59c80ed5
s/int/size_t/
...
svn path=/trunk/netsurf/; revision=10562
2010-06-04 09:39:30 +00:00
Michael Drake
b010a25771
+ Refactor input handling from browser window code into content
...
handlers.
+ Disentangle all box tree manipulation from browser window
code and put it where it belongs.
+ Move other content specific and other irrelevant code from
browser window handling to appropriate places.
+ Put mouse state enum in new mouse header, since it's not just
used by browser window code, and it is used by treeview
windows on the treeview branch.
svn path=/trunk/netsurf/; revision=10561
2010-06-04 09:35:08 +00:00