Michael Drake
97c12b975c
Add 1px to caret height.
2014-03-27 22:05:35 +00:00
Achal-Aggarwal
7bcefbf72d
Fix caret cropping using clip rectangle.
2014-03-21 22:57:41 +05:30
John-Mark Bell
b928095652
GTK: add some support for input methods.
...
We do not currently support pre-edit texts, or
retrieving/modifying text surrounding the caret.
This does, at least, finally allow the use of
dead keys during text input, but probably is
insufficient for useful input of CJKV &c.
2014-02-17 00:21:49 +00:00
Michael Drake
ea79e85fcd
Clean up gui_window creation API.
2014-02-09 13:07:39 +00:00
Michael Drake
ec7a02e550
Use get_scale function instead of derefing the bw.
2014-02-08 16:21:46 +00:00
Michael Drake
a505ea49df
Use browser_window_get_extents function.
2014-02-08 16:05:58 +00:00
Michael Drake
3697f543d6
Use browser_window_has_content.
2014-02-08 15:33:39 +00:00
Michael Drake
72b5bc85f2
Remove pointless variable.
2014-02-08 15:18:46 +00:00
Vincent Sanders
00bdf39dc2
remove unnecessary includes
2014-02-01 13:06:51 +00:00
Vincent Sanders
bd065d4a43
split browser gui operations up
2014-01-15 19:37:05 +00:00
Vincent Sanders
d18c8ed452
move teh final optional window operations into the table
2014-01-13 22:54:19 +00:00
Vincent Sanders
e82d83f184
move four more optional window operations to table
2014-01-13 14:51:27 +00:00
Vincent Sanders
d70e371cd9
move two more mandantory window operations to table
2014-01-13 11:38:35 +00:00
Vincent Sanders
7227c29bba
move window scroll getter and setter into operations table
2014-01-13 01:08:15 +00:00
Vincent Sanders
5a962586fb
move mandantory window update and redraw operations into table
2014-01-12 23:50:54 +00:00
Vincent Sanders
4b49b4ac77
move more optional window operations into table including removing unused hide_pointer operation altogether
2014-01-12 22:55:26 +00:00
Vincent Sanders
b7736bae2f
split gui operations into core and window and move more operations into tables
2014-01-12 17:07:34 +00:00
Vincent Sanders
c8496df3df
move window creation and destruction into table
2014-01-11 22:34:12 +00:00
Rob Kendrick
550c8cd73c
Change gui_file_gadget_interface to pass gui_window not browser_window, add GTK implementation that of course does not work.
2014-01-05 16:45:32 +00:00
Vincent Sanders
41bda017d1
fix error path resource handling in gtk browser window creation (coverity 1109888)
2013-11-03 16:30:34 +00:00
Vincent Sanders
2f280f16eb
completely rework scaffolding window destruction using gtkwidget destroy signals
2013-06-28 12:13:02 +01:00
Vincent Sanders
3d7f79683c
add new tab tab
2013-06-27 16:42:08 +01:00
Vincent Sanders
59dc293156
fix status/toolbar bottom split position and setting user option in gtk
2013-06-25 19:01:41 +01:00
Vincent Sanders
63d7247a9c
fix mismatched option name and variable names
...
block_ads should be block_advertisments to match option name
toolbar_status_width should be toolbar_status_size to match option name
2013-05-28 14:16:11 +01:00
Vincent Sanders
ee6e6eec05
move options include
2013-05-28 14:16:10 +01:00
Vincent Sanders
e2957762ba
remove extraneous debug
2013-05-23 12:07:08 +01:00
Michael Drake
631265ef6b
Front ends have no reason to include desktop/selection.h now.
2013-05-10 12:16:05 +01:00
Michael Drake
9644d0594c
Remove struct selection from gui_drag_save_selection, so gui.h doesn't need it now.
2013-05-10 11:54:26 +01:00
Vincent Sanders
85030ea2de
Fix mouse wheel scrolling on gtk3 by implementing the smooth scroll direction
...
Fix mouse wheel scrolling on gtk2 by setting a reasonable default step
2013-05-04 19:42:01 +01:00
Vincent Sanders
ad74fa4d6f
fix scrolling on gtk3
2013-04-17 14:16:45 +01:00
Vincent Sanders
d6f9ae3793
attach scrollbar and layout to the same adjustment so it need not be done in code
2013-04-17 12:02:53 +01: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
Michael Drake
c2a718075a
A load of refactoring of how content selection and input work.
...
Keypresses now go via content interface.
Contents don't shove the selection object into browser windows any more.
Contents report selection existence by sending message.
HTML content keeps track of where selections in it exist.
Contents report whether they have input focus via caret setting msg.
Caret can be hidden (can still input/paste) or removed.
Consolidate textarea selection handling.
Make textarea report its selection status changes to client.
Various textarea fixes.
Changed how we decide when to clear selections, and give focus.
2013-02-22 12:19:35 +00:00
Michael Drake
0c0e988ea5
Pass double and triple clicks to the browser window.
2013-02-12 13:20:36 +00:00
Michael Drake
153c444454
Move browser_window struct to private header. Places that shouldn't include it do, such as front end code.
...
Frontends that have been updated to build:
framebuffer
gtk
monkey
riscos
TODO:
amiga
atari
beos
cocoa
windows
2012-08-22 12:22:58 +01:00
Michael Drake
971058cd67
Remove unused struct box.
2012-08-20 14:21:16 +01:00
Vincent Sanders
feb37dd067
cleanup debug logging
...
svn path=/trunk/netsurf/; revision=13961
2012-06-10 14:53:52 +00:00
Vincent Sanders
8ffc6439a7
fix build on gtk 2.12
...
svn path=/trunk/netsurf/; revision=13927
2012-05-17 16:48:20 +00:00
Vincent Sanders
2622adaa1f
allow netsurf to build with gtk3
...
svn path=/trunk/netsurf/; revision=13926
2012-05-16 19:57:43 +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
Vincent Sanders
ea0c028cac
fix favicon display
...
svn path=/trunk/netsurf/; revision=13460
2012-02-21 20:54:31 +00:00
Vincent Sanders
8e3e8f2ca1
remove unused scrolledwindow member
...
svn path=/trunk/netsurf/; revision=13452
2012-02-20 21:28:24 +00:00
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
Vincent Sanders
df18a97143
Change GTK plotting to use cairo surfaces throughout
...
svn path=/trunk/netsurf/; revision=13354
2011-12-30 00:58:35 +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
Michael Drake
9a29f4b4fe
Call core to see if handles scroll wheel event first.
...
svn path=/trunk/netsurf/; revision=13199
2011-11-29 15:17:35 +00:00
Vincent Sanders
212358278c
clean up gtk tabs argument types to avoid uncessary casting
...
svn path=/trunk/netsurf/; revision=12888
2011-09-26 14:34:16 +00:00
Vincent Sanders
7334ec404e
reduce to a single global structure for glade file locations
...
svn path=/trunk/netsurf/; revision=12872
2011-09-24 09:24:13 +00:00
Vincent Sanders
e82c5be653
remove deprecated GDK usage except for in libsexy
...
svn path=/trunk/netsurf/; revision=12803
2011-09-17 14:58:42 +00:00