mirror of https://github.com/adamdruppe/arsd.git
links
This commit is contained in:
parent
cb405b1ca5
commit
a870179988
|
@ -6045,7 +6045,7 @@ version(Windows) {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Platform-specific for Windows. Unregisters a key. The id is the value returned by `registerHotKey`.
|
/// Platform-specific for Windows. Unregisters a key. The id is the value returned by [registerHotKey].
|
||||||
void unregisterHotKey(SimpleWindow window, int id) {
|
void unregisterHotKey(SimpleWindow window, int id) {
|
||||||
if(!UnregisterHotKey(window.impl.hwnd, id))
|
if(!UnregisterHotKey(window.impl.hwnd, id))
|
||||||
throw new Exception("UnregisterHotKey");
|
throw new Exception("UnregisterHotKey");
|
||||||
|
@ -8794,7 +8794,7 @@ interface CapableOfBeingDrawnUpon {
|
||||||
TrueColorImage takeScreenshot();
|
TrueColorImage takeScreenshot();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Flushes any pending gui buffers. Necessary if you are using with_eventloop with X - flush after you create your windows but before you call `loop()`.
|
/// Flushes any pending gui buffers. Necessary if you are using with_eventloop with X - flush after you create your windows but before you call [arsd.eventloop.loop].
|
||||||
void flushGui() {
|
void flushGui() {
|
||||||
version(X11) {
|
version(X11) {
|
||||||
auto dpy = XDisplayConnection.get();
|
auto dpy = XDisplayConnection.get();
|
||||||
|
|
Loading…
Reference in New Issue