X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fmain.h;h=43d195f2eb8a04f90277206d8172129e8595a358;hp=193206d4cd109e38c6f46390ce7675d24d9f1f74;hb=2db1211c9a24a0cd22da1d3ddcddf564f814fc0a;hpb=81e2ea632c6826b375a8102d3c1705697eb5a500 diff --git a/src/main.h b/src/main.h index 193206d..43d195f 100644 --- a/src/main.h +++ b/src/main.h @@ -28,7 +28,7 @@ inline void MainLoop(Document & doc, const Rect & bounds = Rect(0,0,1,1), const Screen scr; View view(doc,scr, bounds, c); scr.DebugFontInit("DejaVuSansMono.ttf"); - scr.SetMouseHandler([&](int x, int y, int buttons, int wheel) // [?] wtf + scr.SetMouseHandler([&](int x, int y, int buttons, int wheel) // [?] seriously WTF { static bool oldButtonDown = false; static int oldx, oldy;