Remove gui_window_set_scale().

svn path=/trunk/netsurf/; revision=12502
This commit is contained in:
Michael Drake 2011-06-24 12:01:24 +00:00
parent 5fb349e4de
commit dea7683985
9 changed files with 0 additions and 65 deletions

View File

@ -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;

View File

@ -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)
{

View File

@ -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();

View File

@ -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)
{

View File

@ -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);

View File

@ -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
*/

View File

@ -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)

View File

@ -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)
{

View File

@ -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)
{