Commit Graph

41 Commits

Author SHA1 Message Date
Michael Drake
ba9a049d7b Simplify ami_history_open API and use correct call to get history object. 2014-11-22 00:02:28 +00:00
Michael Drake
0f0c3b02d7 Use public bw header. 2014-11-21 09:28:37 +00:00
Chris Young
0966b8097c Allocate screen title when first needed and keep it private to amiga/gui.c 2014-11-16 16:40:41 +00:00
Chris Young
79690c6c90 Remove the global which meant we could only open one local history window.
Now we can open multiple local history windows, which avoids the confusion when requesting a local history window when one is already open.
2014-11-16 15:51:57 +00:00
Chris Young
456734a5c2 Stop history_local accessing gui_window via browser_window, and remove some unneeded globals 2014-11-16 15:42:45 +00:00
Chris Young
2d5e4f6dcd Update history_local.c to use SPACE_RenderBox compatibility function 2014-11-15 14:39:54 +00:00
Vincent Sanders
f287379a7c Fix several doxygen issues 2014-11-08 11:38:20 +00:00
Vincent Sanders
0b64df140c Update amiga frontend for split operation table header changes 2014-10-16 22:33:44 +01:00
Vincent Sanders
2326d3c503 remove unecessary utils/url.h includes 2014-05-09 10:15:42 +01:00
Chris Young
65adc17121 Fix a bunch of cppcheck unused/unreadVariable warnings 2014-04-05 20:26:40 +01:00
Michael Drake
6867726326 More build fixing. 2014-02-15 18:59:54 +00:00
Michael Drake
a38a63a37e Make history internal to browser_window module. 2014-02-15 18:44:50 +00:00
Michael Drake
3d7cd77982 Simplify local history interface. 2014-02-08 22:43:54 +00:00
Chris Young
ade86e496e Replace AllocVec with AllocVecTags. Remove some instances of MEMF_CLEAR where it is not necessary. 2013-10-12 13:11:13 +01:00
Michael Drake
3f45e53539 s/history_core/local_history/ 2013-07-10 11:55:42 +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
22c7c1259b We are opening on a public screen, not a custom screen (even our own screen is a public screen) 2013-03-20 08:22:03 +00:00
Michael Drake
29356734eb Include desktop/browser_private.h. 2012-08-22 13:16:20 +01:00
Chris Young
79c5485e27 Add tiled refresh, with tiles of max size option_redraw_tile_size. This
reduces the size of our off-screen bitmap and associated memory.
Only works with browser windows at present. History and treeviews still
have full window refresh/bitmap.
Setting the option to 0 brings back the old behaviour.

svn path=/trunk/netsurf/; revision=13468
2012-02-25 18:42:33 +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
Chris Young
39e5c04da7 Fix warnings
svn path=/trunk/netsurf/; revision=12616
2011-07-23 14:06:13 +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
Chris Young
40896dd3d9 Fix local history redraw
svn path=/trunk/netsurf/; revision=12054
2011-03-15 00:08:06 +00:00
Chris Young
31bd1df6f9 Stop mix'n'match p96/gfx.lib drawing, remove ami_clg
svn path=/trunk/netsurf/; revision=11832
2011-02-26 22:24:41 +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
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
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
dcbc8cae93 Local history URL HelpHints (will show on OS4.1u1 and newer only)
svn path=/trunk/netsurf/; revision=10135
2010-03-17 21:00:18 +00:00
Chris Young
a5d569ae3e Use correct history window structure
svn path=/trunk/netsurf/; revision=9498
2009-08-29 14:45:47 +00:00
Chris Young
5e033b5133 Give local history own off-screen rendering bitmap
svn path=/trunk/netsurf/; revision=9497
2009-08-29 14:41:24 +00:00
Chris Young
3295d71a2f First attempt at Amiga printing support. Doesn't quite work - a column on the left
will print, but the rest of the page is an unexpected pastel pink.

svn path=/trunk/netsurf/; revision=9410
2009-08-23 15:59:41 +00:00
Chris Young
651228e64d Migrate plotters to use a gui_globals pointer rather than RastPort.
svn path=/trunk/netsurf/; revision=8378
2009-07-07 19:28:34 +00:00
Chris Young
8e8d36156a Fix faster_scroll
svn path=/trunk/netsurf/; revision=7667
2009-05-31 15:05:26 +00:00
Chris Young
27b4580644 Reduce flicker
svn path=/trunk/netsurf/; revision=7542
2009-05-24 14:50:21 +00:00
Chris Young
4387f7b494 Local history started drawing on the browser window instead of the history window for
some reason.  This makes it draw to the usual global bitmap and blit across to the
history window instead.

svn path=/trunk/netsurf/; revision=7453
2009-05-09 19:44:10 +00:00
Chris Young
61b806d5f3 Fix clicking on history items beyone the first page
svn path=/trunk/netsurf/; revision=6789
2009-03-15 21:44:03 +00:00
Chris Young
eab55f2c5a Fix warnings
Fall back to default theme if specified one can't be found

svn path=/trunk/netsurf/; revision=6785
2009-03-15 11:21:46 +00:00
Chris Young
2014dac36d Add ability to render part of a local history window.
This is achieved through new function history_redraw_rectangle.
It takes the co-ordinates of the history area to plot as parameters 2-5
and the co-ordinates of the top-left position to draw this area as params 6,7

Added local history scrolling to Amiga port using the above function.

svn path=/trunk/netsurf/; revision=6740
2009-03-08 23:08:27 +00:00
Chris Young
f6951c0d51 Mostly-working local history window
svn path=/trunk/netsurf/; revision=6733
2009-03-08 16:24:52 +00:00
Chris Young
cbae6a91dd Stop local history from crashing, display mostly works (no thumbnails and offset wrong
to window), no event handling other than closing the window.

svn path=/trunk/netsurf/; revision=6730
2009-03-08 12:52:44 +00:00
Chris Young
33c48cfcd9 Start of local history window in Amiga build; doesn't work yet
svn path=/trunk/netsurf/; revision=6727
2009-03-07 20:52:08 +00:00