Michael Drake
6794af012e
Constify rect param to gui_window_drag_start.
...
svn path=/trunk/netsurf/; revision=13397
2012-01-11 16:45:17 +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
67f2470d5a
Pass whether background images are wanted in redraw_context.
...
svn path=/trunk/netsurf/; revision=13335
2011-12-23 22:39:25 +00:00
François Revel
6814a07243
gcc 2.95 knows about named initializers... just not for C++ :(
...
svn path=/trunk/netsurf/; revision=12768
2011-09-06 22:22:22 +00:00
Michael Drake
0401d52f51
Remove gui_window_frame_resize_start() functions.
...
svn path=/trunk/netsurf/; revision=12738
2011-09-05 15:35:34 +00:00
Michael Drake
65886b3539
Don't need to attach children to scaffolding, because there aren't any.
...
svn path=/trunk/netsurf/; revision=12728
2011-09-05 10:35:59 +00:00
Michael Drake
8d957ca286
Remove unused nsbeos_gui_window_attach_child function.
...
svn path=/trunk/netsurf/; revision=12726
2011-09-05 10:06:42 +00:00
Michael Drake
7758677c9e
Delete same from GTK code copy in BeOS code.
...
svn path=/trunk/netsurf/; revision=12725
2011-09-05 10:02:46 +00:00
Michael Drake
e288ed24fc
Remove frames handling from gui_create_browser_window().
...
svn path=/trunk/netsurf/; revision=12724
2011-09-05 09:58:57 +00:00
Michael Drake
5be6bd452d
Remove gui_window_position_frame() definition from core and remove all implementations from front ends.
...
svn path=/trunk/netsurf/; revision=12711
2011-09-04 18:20:24 +00:00
Michael Drake
ddc9964907
Don't need to set current_redraw_browser any more.
...
svn path=/trunk/netsurf/; revision=12659
2011-08-24 13:43:54 +00:00
Michael Drake
1b03b5dfae
Fix up BeOS for r12574 API change.
...
svn path=/trunk/netsurf/; revision=12577
2011-07-06 12:45:38 +00:00
Michael Drake
eddae6af06
Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
...
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake
2bedf4d88f
Frond ends signal end of drag with call to browser_window_mouse_track.
...
svn path=/trunk/netsurf/; revision=12515
2011-06-27 17:45:17 +00:00
Michael Drake
dea7683985
Remove gui_window_set_scale().
...
svn path=/trunk/netsurf/; revision=12502
2011-06-24 12:01:24 +00:00
Michael Drake
5a4c8916ef
If iframes are reformatted due to containing document reflow, don't need to redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust.
...
svn path=/trunk/netsurf/; revision=12497
2011-06-24 09:30:33 +00:00
François Revel
fea411b71e
Fix BeOS build:
...
- missing include,
- use css_computed_color() accessor instead of struct css_computed_style member as it's now opaque to us.
svn path=/trunk/netsurf/; revision=12100
2011-03-17 20:53:59 +00:00
Michael Drake
e8fe0e64fd
Remove nsbeos_plot_set_scale(), nsbeos_plot_get_scale() and nsbeos_plot_scale.
...
svn path=/trunk/netsurf/; revision=11944
2011-03-09 18:37:50 +00:00
John Mark Bell
de688b59e1
Fix text selection
...
svn path=/trunk/netsurf/; revision=11927
2011-03-06 18:04:13 +00:00
François Revel
064ab5bec9
Fix build: inline what used to be gui_window_redraw().
...
svn path=/trunk/netsurf/; revision=11902
2011-03-04 11:17:07 +00:00
Michael Drake
ef18fe4384
Pass bw, not content.
...
svn path=/trunk/netsurf/; revision=11726
2011-02-20 16:13:50 +00:00
Michael Drake
1545c2bbae
Port BeOS front end to browser_window_redraw().
...
svn path=/trunk/netsurf/; revision=11725
2011-02-20 16:07:43 +00:00
Michael Drake
fe7921a387
Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested.
...
svn path=/trunk/netsurf/; revision=11670
2011-02-13 22:25:11 +00:00
François Revel
e1c11a1d54
Pick the CSS system colours from ui_color() and BScreen::DesktopColor(). Update those when they are updated in ZETA. Also update the toolbar and statusbar background.
...
svn path=/trunk/netsurf/; revision=11535
2011-01-30 19:23:42 +00:00
François Revel
8e84978562
Fix colors on copying to clipboard.
...
svn path=/trunk/netsurf/; revision=10704
2010-08-14 16:08:56 +00:00
François Revel
982dc9e128
Fix BeOS build:
...
- struct content -> hlcache_handle
- login window (though it won't work yet as the message isn't handled, and since we don't have the window pointer anymore we can't add the alert as subset of the window...),
- rsrc fetcher,
- netsurf_init() args (but the replicant is still broken due to this),
- export the realpath() hack as it's needed elsewhere too.
svn path=/trunk/netsurf/; revision=10677
2010-08-02 23:35:35 +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
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
François Revel
314dd0cd50
Add missing gui_window_scroll_visible().
...
svn path=/trunk/netsurf/; revision=9784
2010-01-03 21:06:53 +00:00
François Revel
3ea6fa1fd9
Fix getting the box style to a BFont. for the clipboard.
...
svn path=/trunk/netsurf/; revision=9778
2010-01-02 02:54:30 +00:00
John Mark Bell
243c1ba03f
Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef NDEBUG.
...
svn path=/trunk/netsurf/; revision=7593
2009-05-28 10:39:53 +00:00
François Revel
174a8dcca2
- when replicated, forbid creating windows, even though it initially works it crashes as soon as the menus are used.
...
- added an about box from the infos in the gtk code, still not perfect.
svn path=/trunk/netsurf/; revision=5590
2008-10-17 21:59:44 +00:00
François Revel
ce07ebcea8
- handle NetPositive what codes; this makes it easy to use NetSurf instead by just changing the archived message used to instantiate it.
...
- fix background view color, some host apps hide the BDragger, making it visible.
- handle mailto: urls as a special case, we historically use the prefered app for text/x-email.
svn path=/trunk/netsurf/; revision=5584
2008-10-16 16:01:44 +00:00
François Revel
f94f5cef35
Fix copying plain text selection.
...
svn path=/trunk/netsurf/; revision=5538
2008-10-11 16:58:22 +00:00
François Revel
4e79ee3d07
- support BITMAP_CLEAR_MEMORY in create_bitmap()
...
- copying to clipboard now constructs a text_run_array for StyledEdit, that is added to the clipboard. In applications supporting it it pastes the text with the correct fonts and sizes, and the text colors.
- tried to find which line in source code the selection starts to open the editor there, but it's not finished so it's disabled.
svn path=/trunk/netsurf/; revision=5533
2008-10-10 21:43:25 +00:00
François Revel
8710d3a814
- fix for copying selection to clipboard
...
- fix some leaks
- prepare for about box (use about html from rsrc: but it's broken yet)
- if more than 1 refs received at the same time, open the extra ones in a new window.
svn path=/trunk/netsurf/; revision=5511
2008-10-09 01:22:14 +00:00
François Revel
8b992259f1
Fix drawing the selection.
...
svn path=/trunk/netsurf/; revision=5508
2008-10-08 20:55:18 +00:00
François Revel
c31a54788e
Add clipboard support. Works mostly.
...
svn path=/trunk/netsurf/; revision=5507
2008-10-08 20:08:54 +00:00
François Revel
bc3b994817
-enlarge invalidate rect by 1x1 in gui_window_redraw, this fixes caret updates.
...
- implement clipboard handling, not yet used though.
svn path=/trunk/netsurf/; revision=5506
2008-10-08 19:43:28 +00:00
François Revel
6ce8d637d6
Fix multibyte character input.
...
svn path=/trunk/netsurf/; revision=5505
2008-10-08 00:08:48 +00:00
François Revel
5e32d1ea12
Uncomment the code to focus the view on mouse click, much better.
...
svn path=/trunk/netsurf/; revision=5500
2008-10-06 22:34:03 +00:00
François Revel
497c218d4a
- less debug output
...
- fixed mouse handling, now text input works again.
svn path=/trunk/netsurf/; revision=5496
2008-10-06 04:11:28 +00:00
François Revel
bd276020aa
- fix some coordinate handling
...
- bail out trying to redraw if there are more than 1 pending resize, this almost suppresses flicker on resize, and also avoids having the window busy for 10s redrawing 20 times.
svn path=/trunk/netsurf/; revision=5495
2008-10-06 02:07:55 +00:00
François Revel
022616ce99
Fix the white flickering and bad redraws (text too dark due to being drawn twice), by setting the ViewColor to transparent (avoiding app_server to draw it), and doing it ourselves in plot_clg() just before drawing the rest.
...
svn path=/trunk/netsurf/; revision=5486
2008-10-05 15:41:24 +00:00
François Revel
5de594527f
- cleanup dead gtk code and copyrights
...
- fix refs received before we have a window open (as in OpenWith...), maybe I should just open a new window each time anyway ?
svn path=/trunk/netsurf/; revision=5476
2008-10-02 19:57:19 +00:00
François Revel
121ac2c698
Fix R5 BONE build.
...
svn path=/trunk/netsurf/; revision=5471
2008-10-02 16:52:45 +00:00
François Revel
f9f9478901
Implemented the login dialog.
...
svn path=/trunk/netsurf/; revision=5470
2008-10-02 16:45:21 +00:00
François Revel
08073fb3d6
- switch to using builtin css files from rsrc:
...
- add debug output to trace keyboard input as textinput doesn't work anymore.
svn path=/trunk/netsurf/; revision=5468
2008-10-02 13:34:20 +00:00
François Revel
9e640a2ab9
First try at implementing menus, from RiscOS ones but lots don't work yet.
...
svn path=/trunk/netsurf/; revision=5467
2008-10-02 00:11:30 +00:00
François Revel
d4c4800fec
- iMissing knockout option to false
...
- Use Begin/EndViewTransaction() though it doesn't seem to help much reduce flicker
- some fiddling with bitmaps
svn path=/trunk/netsurf/; revision=5466
2008-10-01 21:04:32 +00:00