summaryrefslogtreecommitdiff
path: root/frontends/beos
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/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);