Michael Drake
94e7b44ebc
Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct.
...
svn path=/trunk/netsurf/; revision=11683
2011-02-14 22:05:39 +00:00
Michael Drake
a089ad0e1d
Pass clip rect to textarea redraw as struct rect.
...
svn path=/trunk/netsurf/; revision=11681
2011-02-14 19:26:45 +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
Michael Drake
27b6096dcd
Move stuct rect out of box.h and tree.c.
...
svn path=/trunk/netsurf/; revision=11647
2011-02-11 19:35:16 +00:00
Daniel Silverstone
699f0cb344
Make the tree icon dir a non-option
...
svn path=/trunk/netsurf/; revision=11422
2011-01-20 14:05:13 +00:00
Michael Drake
c154e7242d
Fix empty tree rendering.
...
svn path=/trunk/netsurf/; revision=11135
2010-12-29 16:39:23 +00:00
Michael Drake
873fa857a7
Use colour options for treeview rendering.
...
svn path=/trunk/netsurf/; revision=11118
2010-12-21 17:01:30 +00:00
Michael Drake
1aad3b71c0
Enable knockout for tree redraw.
...
svn path=/trunk/netsurf/; revision=11099
2010-12-19 16:14:06 +00:00
Steve Fryatt
0bd39eed21
Allow tree drag status to reflect drags within textareas.
...
svn path=/trunk/netsurf/; revision=11097
2010-12-19 12:27:33 +00:00
Michael Drake
75c82c33e6
Draw tree background when there are no nodes.
...
svn path=/trunk/netsurf/; revision=11092
2010-12-18 16:35:52 +00:00
Michael Drake
74ecfe0036
Simplify text plot position calc.
...
svn path=/trunk/netsurf/; revision=11088
2010-12-17 14:07:33 +00:00
Michael Drake
a01f9508b0
Base treeview line height on text height, unless that's too small for the icon to fit.
...
svn path=/trunk/netsurf/; revision=11087
2010-12-17 13:32:43 +00:00
Michael Drake
bb4bda0b3a
When a hotlist entry edit ends by cancelling, rather than confirming the change, end the whole edit and don't pass onto next element for edit.
...
svn path=/trunk/netsurf/; revision=11085
2010-12-17 11:10:22 +00:00
Michael Drake
064c8e50d2
Improve double click handling.
...
svn path=/trunk/netsurf/; revision=11068
2010-12-15 23:55:39 +00:00
Michael Drake
cbe24279f8
Don't give up on a mouse action because BROWSER_MOUSE_PRESS_{1|2} is set. The RISC OS front end sets them for action-on-button-press (rather than release) behaviour.
...
svn path=/trunk/netsurf/; revision=11065
2010-12-15 21:58:01 +00:00
Michael Drake
0e56e9c21b
Possible fix for issue reported by Chris Young.
...
svn path=/trunk/netsurf/; revision=11062
2010-12-15 19:48:59 +00:00
Michael Drake
bf4968f334
Much faster redraw of treeviews.
...
svn path=/trunk/netsurf/; revision=11058
2010-12-15 10:38:41 +00:00
Michael Drake
f474bc06bf
Further tidy up of node redraw.
...
svn path=/trunk/netsurf/; revision=11057
2010-12-15 01:05:10 +00:00
Michael Drake
771b0e3b8b
Pass clip rectangle around tree redraw. Update clipping area with respect to what's being plotted. Simplify tree redraw and add more comments.
...
svn path=/trunk/netsurf/; revision=11056
2010-12-15 00:32:37 +00:00
Michael Drake
2e249ac9e6
Set text position with respect to TREE_LINE_HEIGHT.
...
svn path=/trunk/netsurf/; revision=11043
2010-12-12 22:37:51 +00:00
Michael Drake
f777a58ec5
Set expansion toggle position with respect to TREE_LINE_HEIGHT.
...
svn path=/trunk/netsurf/; revision=11042
2010-12-12 21:24:35 +00:00
Michael Drake
d1d3a65b06
Set icon position with respect to TREE_LINE_HEIGHT.
...
svn path=/trunk/netsurf/; revision=11041
2010-12-12 21:13:55 +00:00
Michael Drake
eabf7e8afd
Remove redundant line plots, from tree_draw_node() and add comments.
...
svn path=/trunk/netsurf/; revision=11040
2010-12-12 20:39:46 +00:00
Michael Drake
cff0709528
More "NetSurfy" colours. Note treeview restyling is still in progress; this will change.
...
svn path=/trunk/netsurf/; revision=11039
2010-12-12 16:48:26 +00:00
Michael Drake
55d9191bb5
Create some tree plot styles and use them.
...
svn path=/trunk/netsurf/; revision=11038
2010-12-12 16:45:41 +00:00
Michael Drake
86b8057c60
Remove pointless rectangle fill under text.
...
svn path=/trunk/netsurf/; revision=11037
2010-12-12 16:32:39 +00:00
Michael Drake
18b2824d6c
Rename usages of "furniture" which applied to expansion toggle boxes to "expansion_toggle". Now "furniture" refers exclusively to all tree furniture. Start commenting things.
...
svn path=/trunk/netsurf/; revision=11036
2010-12-12 14:30:33 +00:00
Michael Drake
79b87832a4
Rename tree_draw_node_expansion() to tree_draw_node_expansion_toggle(). Pedantic wrap/indentation changes in tree_draw_node.
...
svn path=/trunk/netsurf/; revision=11035
2010-12-12 13:55:25 +00:00
Michael Drake
a7240fd6a9
Fix TREE_ICON_SIZE to match size of actual icons. Fix clip rectangle for icon redraw.
...
svn path=/trunk/netsurf/; revision=11034
2010-12-12 13:01:27 +00:00
Michael Drake
4c5a0d845c
Use TREE_LINE_HEIGHT define instead of magic 20 everywhere.
...
svn path=/trunk/netsurf/; revision=11033
2010-12-12 12:45:12 +00:00
Michael Drake
ff9bd6540c
Clearer font styles.
...
svn path=/trunk/netsurf/; revision=11032
2010-12-12 12:14:03 +00:00
Chris Young
755e45028d
If a drag is in progress that the tree can't handle, it is a TREE_UNKNOWN_DRAG not a
...
TREE_NO_DRAG, as the platform code might be able to deal with it.
svn path=/trunk/netsurf/; revision=10920
2010-10-30 10:43:14 +00:00
Chris Young
f2c834ac51
Only set TREE_MOVE_DRAG is the tree is TREE_MOVABLE
...
svn path=/trunk/netsurf/; revision=10919
2010-10-30 09:23:03 +00:00
Chris Young
25e9b79f5c
Allow getting the tree's drag property. This ensures we can see whether the current
...
drag is something we might need to display an icon for.
svn path=/trunk/netsurf/; revision=10917
2010-10-29 17:40:36 +00:00
Chris Young
c5b9e45960
Make CR also stop and save tree edits
...
svn path=/trunk/netsurf/; revision=10892
2010-10-17 13:00:51 +00:00
Steve Fryatt
73cf86e437
- Request correct redraw area when changing a node's size in tree_handle_node_changed().
...
- Update parameter documentation to match function definitions.
svn path=/trunk/netsurf/; revision=10876
2010-10-10 09:10:44 +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
Vincent Sanders
bd6c884020
Fix up confusing formatting
...
svn path=/trunk/netsurf/; revision=10586
2010-06-28 11:31:51 +00:00
John Mark Bell
73a89e8a0f
Lose redundant variable.
...
Ensure name_t is used in tree_delete_node_internal()
svn path=/trunk/netsurf/; revision=7609
2009-05-28 16:16:16 +00:00
John Tytgat
5f6c2cbff7
- Compiler warning squash
...
- Changed a lineending \n\r -> \n for a couple of files.
- More code style conformance.
svn path=/trunk/netsurf/; revision=4762
2008-07-26 22:29:15 +00:00
James Bursa
d8b810b46b
Bug fixes by Franz Korntner.
...
svn path=/trunk/netsurf/; revision=3636
2007-10-28 17:05:39 +00:00
Vincent Sanders
2f864eeecc
Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
...
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
Daniel Silverstone
6807b4208a
Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
...
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.
This is untested under self-hosted RISC OS builds. All else tested and works.
svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +00:00
Michael Drake
ba23e4b693
Update project URL.
...
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
Richard Wilson
0309e937e6
Allow the user to delete cookies.
...
svn path=/trunk/netsurf/; revision=2770
2006-07-16 21:42:37 +00:00
Richard Wilson
2ebc9d2c50
Slightly improve positioning of lists.
...
svn path=/trunk/netsurf/; revision=2759
2006-07-16 00:40:13 +00:00
Richard Wilson
00d74fdd2d
Allow the viewing of the entire SSL certificate chain.
...
svn path=/trunk/netsurf/; revision=2755
2006-07-16 00:21:15 +00:00
Richard Wilson
546bf17a7f
Add relevent extensions to allow treeviews to be used as an embedded list component.
...
svn path=/trunk/netsurf/; revision=2753
2006-07-15 15:39:33 +00:00
John Mark Bell
4c564c28bf
Display session cookies' expiry correctly
...
Fix urldb debug build
Fix GTK build's cookie_update API
svn path=/trunk/netsurf/; revision=2752
2006-07-15 11:59:25 +00:00
Richard Wilson
a836591435
Add basic cookie viewer, make trees use textarea components for UTF8 editing, trim headers, fix tree redraw issues.
...
svn path=/trunk/netsurf/; revision=2739
2006-07-13 12:46:02 +00:00