Remove gui_window_set_scale().
svn path=/trunk/netsurf/; revision=12502
This commit is contained in:
parent
5fb349e4de
commit
dea7683985
|
@ -3879,12 +3879,6 @@ bool gui_window_frame_resize_start(struct gui_window *g)
|
|||
return true;
|
||||
}
|
||||
|
||||
void gui_window_set_scale(struct gui_window *g, float scale)
|
||||
{
|
||||
g->shared->new_content = true;
|
||||
g->shared->redraw_required = true;
|
||||
}
|
||||
|
||||
void ami_scroller_hook(struct Hook *hook,Object *object,struct IntuiMessage *msg)
|
||||
{
|
||||
ULONG gid,x,y;
|
||||
|
|
|
@ -700,15 +700,6 @@ void gui_window_save_link(struct gui_window *g, const char *url,
|
|||
TODO();
|
||||
}
|
||||
|
||||
void gui_window_set_scale(struct gui_window *w, float scale)
|
||||
{
|
||||
if (w == NULL)
|
||||
return;
|
||||
w->browser->bw->scale = scale;
|
||||
LOG(("%.2f\n", scale));
|
||||
/* TODO schedule redraw */
|
||||
}
|
||||
|
||||
void gui_drag_save_object(gui_save_type type, hlcache_handle *c,
|
||||
struct gui_window *w)
|
||||
{
|
||||
|
|
|
@ -1484,18 +1484,6 @@ void gui_window_set_scroll(struct gui_window *g, int sx, int sy)
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set the scale setting of a window
|
||||
*
|
||||
* \param g gui window
|
||||
* \param scale scale value (1.0 == normal scale)
|
||||
*/
|
||||
|
||||
void gui_window_set_scale(struct gui_window *g, float scale)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void gui_window_update_extent(struct gui_window *g)
|
||||
{
|
||||
CALLED();
|
||||
|
|
|
@ -316,11 +316,6 @@ void gui_window_save_link(struct gui_window *g, const char *url,
|
|||
UNIMPL();
|
||||
}
|
||||
|
||||
void gui_window_set_scale(struct gui_window *g, float scale)
|
||||
{
|
||||
gui_window_redraw_window( g );
|
||||
}
|
||||
|
||||
void gui_drag_save_object(gui_save_type type, hlcache_handle *c,
|
||||
struct gui_window *g)
|
||||
{
|
||||
|
|
|
@ -109,7 +109,6 @@ bool gui_window_box_scroll_start(struct gui_window *g,
|
|||
bool gui_window_frame_resize_start(struct gui_window *g);
|
||||
void gui_window_save_link(struct gui_window *g, const char *url,
|
||||
const char *title);
|
||||
void gui_window_set_scale(struct gui_window *g, float scale);
|
||||
|
||||
struct gui_download_window *gui_download_window_create(download_context *ctx,
|
||||
struct gui_window *parent);
|
||||
|
|
|
@ -1571,12 +1571,6 @@ gui_window_save_link(struct gui_window *g, const char *url, const char *title)
|
|||
{
|
||||
}
|
||||
|
||||
void
|
||||
gui_window_set_scale(struct gui_window *g, float scale)
|
||||
{
|
||||
LOG(("set scale\n"));
|
||||
}
|
||||
|
||||
/**
|
||||
* set favicon
|
||||
*/
|
||||
|
|
12
gtk/window.c
12
gtk/window.c
|
@ -908,18 +908,6 @@ void gui_window_scroll_visible(struct gui_window *g, int x0, int y0,
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set the scale setting of a window
|
||||
*
|
||||
* \param g gui window
|
||||
* \param scale scale value (1.0 == normal scale)
|
||||
*/
|
||||
|
||||
void gui_window_set_scale(struct gui_window *g, float scale)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void gui_window_update_extent(struct gui_window *g)
|
||||
{
|
||||
if (!g->bw->current_content)
|
||||
|
|
|
@ -274,12 +274,6 @@ gui_window_set_pointer(struct gui_window *g, gui_pointer_shape shape)
|
|||
fprintf(stdout, "WINDOW SET_POINTER WIN %u POINTER %s\n", g->win_num, ptr_name);
|
||||
}
|
||||
|
||||
void
|
||||
gui_window_set_scale(struct gui_window *g, float scale)
|
||||
{
|
||||
fprintf(stdout, "WINDOW SET_SCALE WIN %u SCALE %f\n", g->win_num, scale);
|
||||
}
|
||||
|
||||
void
|
||||
gui_window_set_url(struct gui_window *g, const char *url)
|
||||
{
|
||||
|
|
|
@ -1777,14 +1777,6 @@ void gui_window_save_link(struct gui_window *g, const char *url,
|
|||
{
|
||||
}
|
||||
|
||||
void gui_window_set_scale(struct gui_window *w, float scale)
|
||||
{
|
||||
if (w == NULL)
|
||||
return;
|
||||
w->scale = scale;
|
||||
LOG(("%.2f\n", scale));
|
||||
}
|
||||
|
||||
void gui_drag_save_object(gui_save_type type, hlcache_handle *c,
|
||||
struct gui_window *w)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue