support for minigui

This commit is contained in:
Adam D. Ruppe 2025-02-08 15:47:50 -05:00
parent 16f17911f6
commit 6d4683d4ce
2 changed files with 14 additions and 2 deletions

View File

@ -813,8 +813,6 @@ interface->SetProgressValue(hwnd, 40, 100);
+/
module arsd.simpledisplay;
import arsd.core;
// FIXME: tetris demo
// FIXME: space invaders demo
// FIXME: asteroids demo
@ -1162,6 +1160,8 @@ unittest {
// FIXME: space invaders demo
// FIXME: asteroids demo
import arsd.core;
version(OSX) version(DigitalMars) version=OSXCocoa;
version(Emscripten) {

View File

@ -24,6 +24,9 @@
+/
module arsd.textlayouter;
// see: https://harfbuzz.github.io/a-simple-shaping-example.html
// FIXME: unicode private use area could be delegated out but it might also be used by something else.
// just really want an encoding scheme for replaced elements that punt it outside..
@ -347,6 +350,15 @@ public struct Selection {
return this;
}
/++
Gets the current user coordinate, the point where they explicitly want the caret to be near.
History:
Added January 24, 2025
+/
Point getUserCoordinate() {
return impl.virtualFocusPosition;
}
/+ Moving the internal position +/