summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-08-05 09:35:22 +0100
committerVincent Sanders <vince@kyllikki.org>2019-08-05 09:36:25 +0100
commit936cb3ce0c746011af67c2b4f0e6df5070c9d9e6 (patch)
tree68356f0581acd859afc5c5991490fa641e6a8b91
parent243659763bfc97800f94332b941cc7195f2edde1 (diff)
downloadnetsurf-936cb3ce0c746011af67c2b4f0e6df5070c9d9e6.tar.gz
netsurf-936cb3ce0c746011af67c2b4f0e6df5070c9d9e6.tar.bz2
remove shadow scale variable from beos
-rw-r--r--frontends/beos/window.cpp9
-rw-r--r--frontends/beos/window.h2
2 files changed, 0 insertions, 11 deletions
diff --git a/frontends/beos/window.cpp b/frontends/beos/window.cpp
index dda255670..e330a825a 100644
--- a/frontends/beos/window.cpp
+++ b/frontends/beos/window.cpp
@@ -92,8 +92,6 @@ struct gui_window {
/* Keep gui_windows in a list for cleanup later */
struct gui_window *next, *prev;
-
- float scale;
};
@@ -336,11 +334,6 @@ struct browser_window *nsbeos_get_browser_for_gui(struct gui_window *g)
return g->bw;
}
-float nsbeos_get_scale_for_gui(struct gui_window *g)
-{
- return g->scale;
-}
-
/* Create a gui_window */
static struct gui_window *gui_window_create(struct browser_window *bw,
struct gui_window *existing,
@@ -360,7 +353,6 @@ static struct gui_window *gui_window_create(struct browser_window *bw,
g->bw = bw;
g->mouse.state = 0;
g->current_pointer = GUI_POINTER_DEFAULT;
- g->scale = browser_window_get_scale(bw);
g->careth = 0;
g->pending_resizes = 0;
@@ -687,7 +679,6 @@ void nsbeos_dispatch_event(BMessage *message)
void nsbeos_window_expose_event(BView *view, gui_window *g, BMessage *message)
{
BRect updateRect;
- //float scale = g->scale;
struct rect clip;
struct redraw_context ctx = { true, true, &nsbeos_plotters };
diff --git a/frontends/beos/window.h b/frontends/beos/window.h
index 928acca22..f8726a887 100644
--- a/frontends/beos/window.h
+++ b/frontends/beos/window.h
@@ -72,8 +72,6 @@ struct beos_scaffolding *nsbeos_get_scaffold(struct gui_window *g);
struct browser_window *nsbeos_get_browser_for_gui(struct gui_window *g);
-float nsbeos_get_scale_for_gui(struct gui_window *g);
-
int nsbeos_gui_window_update_targets(struct gui_window *g);
void nsbeos_window_destroy_browser(struct gui_window *g);