I am using GDI to create custom text input. I draw directly to the screen, not loaded.
Now I would like to implement some quick scrolling, just the pixels shift the corresponding part of the framebuffer (and only redraw the newly visible lines).
I noticed that, for example, rich text controls do this like this. If I use some of the GDI drawing functions to draw directly in the framebuffer, above the advanced text control, and then scroll the text with rich text, it also scrolls my drawing along with the text. therefore, I assume that rich text just pixels shifts its part of the framebuffer.
I would like to do the same, but I donβt know how to do it.
Can anyone help? (regardless of programming language))
thanks!
source share