-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graphical front-end (GUI-TUI Bridge) #571
Comments
This comment was marked as outdated.
This comment was marked as outdated.
You can play with a prototype of the vtm graphical window (gui-bridge branch) on various Windows platforms starting with Win8.1 (including Window Server 2019 Core). If vtm is launched from a graphical shell, or through the screen_record_Thu_04.18.2024__3-02-53.76.mp4The vtm server starts in the background, despite the fact that its interface is not yet rendered. |
In order to combine the coordinate grid of graphic and text modes, it is necessary, in addition to the integer coordinates of the text cell itself, to add relative fractional coordinates inside the cell in the range [0.0f, 1.0f). In other words, the mouse coordinates when switching from graphic to text mode are converted as follows: fractional_coordinates = cellular_coordinates + (coordinates_inside_the_cell) / cell_size. I think that single precision floating point values should be enough. Now we need to convert all geometric types from int32_t to float32. This way we will not depend on the cell size and at the same time we will be able to forward the mouse position back to graphic mode if the mouse event was not handled by the text mode. |
…hadows for text windows by default
…the configuration (-c <fragment/>)
WaylandThe text was updated successfully, but these errors were encountered: