summaryrefslogtreecommitdiff
path: root/libs/canvas/test/gtk_many.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-10-05 16:17:49 +0200
committerRobin Gareus <robin@gareus.org>2015-10-05 16:17:49 +0200
commit22b07e0233a29d9633ffa825a79503befaf2e16e (patch)
tree1d8b06056f8e12197158f5d906319767d3dedda5 /libs/canvas/test/gtk_many.cc
parente11ba7b79d68bc1070b170236c22123966d7bcc3 (diff)
NOOP, remove trailing tabs/whitespace.
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;
}