Age | Commit message (Collapse) | Author |
|
I finally found the correct approach to avoid all those annoying bugs,
and we can "even" resize windows now. What an improvement!
The remaining steps:
- Load a file and draw the texts on the screen.
This is relatively straightforward, as I have done this before. The
point is that I am now using vulkan, and this is still a challenge
to me.
- Design a trait for display that can work with the terminal mode
and the free graphical display at the same time. This requires a
new abstraction per chance.
- Integrate the output from Emacs by interpreting the commands sent
from Emacs. The point of this step is to have a way to control the
display through a fixed set of commands, and this set of commands
needs to cooperate with Emacs, so that Emacs can control it by means
of some emiited commands.
- Try to rewrite the Emacs core so that it can use this new display
engine.
|
|
I am still in the process of debugging.
|
|
Now we can draw a window with a basic background.
But the resizing part is troublesome, I need to figure out where the
bugs are and fix them later.
But we need to render files in the window, so we need to load some
file, and render the texts on the screen.
The loading part is easy, whereas the text part needs reflections: we
need some structure to hold the buffers and then some structure for
the to-be-rendered part.
|
|
|
|
A basic window is available. Now we shall try to render texts and
some auxiliary functionalities.
|