summaryrefslogtreecommitdiff
path: root/beos/window.cpp
diff options
context:
space:
mode:
authorFran├žois Revol <revol@free.fr>2012-11-25 20:00:27 +0100
committerFran├žois Revol <revol@free.fr>2012-11-25 20:00:27 +0100
commit17e19b283f8cf0e2772e61ac1e11f9919b03489b (patch)
tree741be69eb82eb628598870be67f5b53ad7c380db /beos/window.cpp
parent38b17e11123d7da014d6c53c28f3d181a15517eb (diff)
downloadnetsurf-17e19b283f8cf0e2772e61ac1e11f9919b03489b.tar.gz
netsurf-17e19b283f8cf0e2772e61ac1e11f9919b03489b.tar.bz2
beos: Silence debug output
Either comment them or change to LOG() calls.
Diffstat (limited to 'beos/window.cpp')
-rw-r--r--beos/window.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/beos/window.cpp b/beos/window.cpp
index 3e6b2f518..4bc9f2c51 100644
--- a/beos/window.cpp
+++ b/beos/window.cpp
@@ -1312,7 +1312,7 @@ void gui_window_update_box(struct gui_window *g, const struct rect *rect)
bool gui_window_get_scroll(struct gui_window *g, int *sx, int *sy)
{
- CALLED();
+ //CALLED();
if (g->view == NULL)
return false;
if (!g->view->LockLooper())
@@ -1342,7 +1342,7 @@ bool gui_window_get_scroll(struct gui_window *g, int *sx, int *sy)
void gui_window_set_scroll(struct gui_window *g, int sx, int sy)
{
- CALLED();
+ //CALLED();
if (g->view == NULL)
return;
if (!g->view->LockLooper())
@@ -1384,7 +1384,7 @@ void gui_window_set_scroll(struct gui_window *g, int sx, int sy)
void gui_window_update_extent(struct gui_window *g)
{
- CALLED();
+ //CALLED();
if (!g->bw->current_content)
return;
@@ -1399,7 +1399,7 @@ void gui_window_update_extent(struct gui_window *g)
float y_prop = g->view->Bounds().Height() / y_max;
x_max -= g->view->Bounds().Width() + 1;
y_max -= g->view->Bounds().Height() + 1;
-printf("x_max = %f y_max = %f x_prop = %f y_prop = %f\n", x_max, y_max, x_prop, y_prop);
+ LOG(("x_max = %f y_max = %f x_prop = %f y_prop = %f\n", x_max, y_max, x_prop, y_prop));
if (g->view->ScrollBar(B_HORIZONTAL)) {
g->view->ScrollBar(B_HORIZONTAL)->SetRange(0, x_max);
g->view->ScrollBar(B_HORIZONTAL)->SetProportion(x_prop);