summaryrefslogtreecommitdiff
path: root/libs/canvas/test/gtk_many.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/canvas/test/gtk_many.cc')
-rw-r--r--libs/canvas/test/gtk_many.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/canvas/test/gtk_many.cc b/libs/canvas/test/gtk_many.cc
index e75ce05ac0..dda35e4714 100644
--- a/libs/canvas/test/gtk_many.cc
+++ b/libs/canvas/test/gtk_many.cc
@@ -20,20 +20,20 @@ int main (int argc, char* argv[])
double Ns = sqrt (N);
int max_x = 1024;
int max_y = 1024;
-
+
for (int x = 0; x < Ns; ++x) {
for (int y = 0; y < Ns; ++y) {
Rectangle* r = new Rectangle (canvas.root ());
r->set (Rect (x * max_x / Ns, y * max_y / Ns, (x + 1) * max_x / Ns, (y + 1) * max_y / Ns));
}
}
-
+
Gtk::ScrolledWindow scroller;
scroller.add (canvas);
window.add (scroller);
canvas.show ();
window.show_all ();
-
+
Gtk::Main::run (window);
return 0;
}