Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/da4968b8e0af30d0caaf2fcaed88f5d60a0fccdf
...commit
http://git.netsurf-browser.org/netsurf.git/commit/da4968b8e0af30d0caaf2fcaed88f5d60a0fccdf
...tree
http://git.netsurf-browser.org/netsurf.git/tree/da4968b8e0af30d0caaf2fcaed88f5d60a0fccdf
The branch, chris/palette-mapped-plotters has been updated
via da4968b8e0af30d0caaf2fcaed88f5d60a0fccdf (commit)
from e454cf3f9cc6aaff6e4036c4873d7ef24191c290 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commitdiff/da4968b8e0af30d0caaf2fcaed88f5d60a0fccdf
commit da4968b8e0af30d0caaf2fcaed88f5d60a0fccdf
Author: Chris Young <[email protected]>
Commit: Chris Young <[email protected]>
Allow selecting <16-bit wcreenmodes so we can easily see what needs doing.
diff --git a/amiga/gui.c b/amiga/gui.c
index d5d227e..ee15ee9 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -603,7 +603,7 @@ void ami_openscreen(void)
if(screenmodereq =
AllocAslRequest(ASL_ScreenModeRequest,NULL))
{
if(AslRequestTags(screenmodereq,
- ASLSM_MinDepth,16,
+ ASLSM_MinDepth,0,
ASLSM_MaxDepth,32,
TAG_DONE))
{
@@ -3187,7 +3187,7 @@ void gui_window_destroy(struct gui_window *g)
if(g->shared->appwin) RemoveAppWindow(g->shared->appwin);
/* These aren't freed by the above.
- * TODO: nav_west etc need freeing too */
+ * TODO: nav_west etc need freeing too? */
DisposeObject(g->shared->objects[GID_ADDTAB_BM]);
DisposeObject(g->shared->objects[GID_CLOSETAB_BM]);
DisposeObject(g->shared->objects[GID_TABS_FLAG]);
@@ -3308,7 +3308,7 @@ void ami_do_redraw_tiled(struct gui_window_2 *gwin,
if(width <= 0) return;
if(height <= 0) return;
-//printf("%ld %ld %ld %ld\n",left, top, width, height);
+// printf("%ld %ld %ld %ld\n",left, top, width, height);
for(y = top; y < (top + height); y += tile_y_scale) {
clip.y0 = 0;
@@ -3470,14 +3470,14 @@ void ami_do_redraw(struct gui_window_2 *g)
g->bw->window->c_h = g->bw->window->c_h_temp;
- if(vcurrent>oldv)
+ if(vcurrent>oldv) /* Going down */
{
ami_do_redraw_limits(g->bw->window, g->bw,
hcurrent, (height / g->bw->scale) +
oldv - 1,
hcurrent + (width / g->bw->scale),
vcurrent + (height / g->bw->scale) + 1);
}
- else if(vcurrent<oldv)
+ else if(vcurrent<oldv) /* Going up */
{
ami_do_redraw_limits(g->bw->window, g->bw,
hcurrent, vcurrent,
@@ -3485,14 +3485,14 @@ void ami_do_redraw(struct gui_window_2 *g)
oldv);
}
- if(hcurrent>oldh)
+ if(hcurrent>oldh) /* Going right */
{
ami_do_redraw_limits(g->bw->window, g->bw,
(width / g->bw->scale) + oldh ,
vcurrent,
hcurrent + (width / g->bw->scale),
vcurrent + (height / g->bw->scale));
}
- else if(hcurrent<oldh)
+ else if(hcurrent<oldh) /* Going left */
{
ami_do_redraw_limits(g->bw->window, g->bw,
hcurrent, vcurrent,
-----------------------------------------------------------------------
Summary of changes:
amiga/gui.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/amiga/gui.c b/amiga/gui.c
index d5d227e..ee15ee9 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -603,7 +603,7 @@ void ami_openscreen(void)
if(screenmodereq =
AllocAslRequest(ASL_ScreenModeRequest,NULL))
{
if(AslRequestTags(screenmodereq,
- ASLSM_MinDepth,16,
+ ASLSM_MinDepth,0,
ASLSM_MaxDepth,32,
TAG_DONE))
{
@@ -3187,7 +3187,7 @@ void gui_window_destroy(struct gui_window *g)
if(g->shared->appwin) RemoveAppWindow(g->shared->appwin);
/* These aren't freed by the above.
- * TODO: nav_west etc need freeing too */
+ * TODO: nav_west etc need freeing too? */
DisposeObject(g->shared->objects[GID_ADDTAB_BM]);
DisposeObject(g->shared->objects[GID_CLOSETAB_BM]);
DisposeObject(g->shared->objects[GID_TABS_FLAG]);
@@ -3308,7 +3308,7 @@ void ami_do_redraw_tiled(struct gui_window_2 *gwin,
if(width <= 0) return;
if(height <= 0) return;
-//printf("%ld %ld %ld %ld\n",left, top, width, height);
+// printf("%ld %ld %ld %ld\n",left, top, width, height);
for(y = top; y < (top + height); y += tile_y_scale) {
clip.y0 = 0;
@@ -3470,14 +3470,14 @@ void ami_do_redraw(struct gui_window_2 *g)
g->bw->window->c_h = g->bw->window->c_h_temp;
- if(vcurrent>oldv)
+ if(vcurrent>oldv) /* Going down */
{
ami_do_redraw_limits(g->bw->window, g->bw,
hcurrent, (height / g->bw->scale) +
oldv - 1,
hcurrent + (width / g->bw->scale),
vcurrent + (height / g->bw->scale) + 1);
}
- else if(vcurrent<oldv)
+ else if(vcurrent<oldv) /* Going up */
{
ami_do_redraw_limits(g->bw->window, g->bw,
hcurrent, vcurrent,
@@ -3485,14 +3485,14 @@ void ami_do_redraw(struct gui_window_2 *g)
oldv);
}
- if(hcurrent>oldh)
+ if(hcurrent>oldh) /* Going right */
{
ami_do_redraw_limits(g->bw->window, g->bw,
(width / g->bw->scale) + oldh ,
vcurrent,
hcurrent + (width / g->bw->scale),
vcurrent + (height / g->bw->scale));
}
- else if(hcurrent<oldh)
+ else if(hcurrent<oldh) /* Going left */
{
ami_do_redraw_limits(g->bw->window, g->bw,
hcurrent, vcurrent,
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org