diff --git a/cgi.d b/cgi.d index c265791..9eb5510 100644 --- a/cgi.d +++ b/cgi.d @@ -26,6 +26,7 @@ * have data presentation magic * do the skeleton stuff like 1.0 * auto-cache generated stuff in files (at least if pure?) + * introspect functions in json for consumers https://linux.die.net/man/3/posix_spawn diff --git a/minigui.d b/minigui.d index e90c21e..455d519 100644 --- a/minigui.d +++ b/minigui.d @@ -533,8 +533,6 @@ class DataView : Widget { version(win32_widgets) {} else version(custom_widgets) { enum windowBackgroundColor = Color(212, 212, 212); // used to be 192 - enum darkAccentColor = Color(172, 172, 172); - enum lightAccentColor = Color(223, 223, 223); // used to be 223 enum activeTabColor = lightAccentColor; enum activeListXorColor = Color(255, 255, 0); enum hoveringColor = Color(215, 215, 215); @@ -544,6 +542,9 @@ else version(custom_widgets) { enum activeMenuItemColor = Color.blue; } else static assert(false); + // these are used by horizontal rule so not just custom_widgets. for now at least. + enum darkAccentColor = Color(172, 172, 172); + enum lightAccentColor = Color(223, 223, 223); // used to be 223 private const(wchar)* toWstringzInternal(in char[] s) { wchar[] str; diff --git a/simpledisplay.d b/simpledisplay.d index 3bbe7cf..1989577 100644 --- a/simpledisplay.d +++ b/simpledisplay.d @@ -2957,7 +2957,7 @@ struct EventLoopImpl { // process handles[waitResult - WAIT_OBJECT_0]; } else if(waitResult == handles.length + WAIT_OBJECT_0) { // message ready - if(PeekMessage(&message, null, 0, 0, PM_NOREMOVE)) // need to peek since sometimes MsgWaitForMultipleObjectsEx returns even though GetMessage can block. tbh i don't fully understand it. + while(PeekMessage(&message, null, 0, 0, PM_NOREMOVE)) // need to peek since sometimes MsgWaitForMultipleObjectsEx returns even though GetMessage can block. tbh i don't fully understand it but the docs say it is foreground activation if((ret = GetMessage(&message, null, 0, 0)) != 0) { if(ret == -1) throw new Exception("GetMessage failed");