Hi everyone,
I have a mouse an some windows on the screen
How can i move the mouse on these windows or move these windows on each other without clearing any of them?is there any thing like VGA layers?
i am using MSVC 2005 to develop my OS and i am using an assembly boot loader that i have it's code and i can change any thing in it. "I don't have Multitasking so that i can't use v86 , and i am in mode 13h"
-------
Thank you in advance
-----------------------
Video layers
Re: Video layers
All you need is get_image() and put_image() functions that can store pixels at certain range and then restore them later. Note that you need to have working malloc() and free() functions which implies that you should have a physical memory manager implemented. Whole lot of dependencies, no?
Programming is not about using a language to solve a problem, it's about using logic to find a solution !
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Video layers
VGA "layers" only allow you to make splitscreens and in some cases add a small solid block on top of it. You can't use it to make the stereotypical mouse cursor without redrawing. Worse, high-resolution modes disable whatever bits of VGA compositing you have available so you have to do everything manually without exception.
That said, you may also benefit from the wisdom of James T. Klik
That said, you may also benefit from the wisdom of James T. Klik
-
- Member
- Posts: 109
- Joined: Wed Nov 10, 2010 10:49 am
Re: Video layers
It will be hard , but i will try and post the results