Hi, i am trying to make a gui in my OS and i have the main class (VGA.cs) and another class (dialog.cs) that displays a window on the screen.
I got it working, but im stuck trying to get mouse click to work with it :/
In VGA.cs I have a static uint that stores mouse x and mouse y upon click. I am trying to get to that in dialog.cs for a button on the window but I cant :@
I would need to use a loop to keep checking the mouse x and mouse y, but my problem is i can only use one loop at a time.
if i have the loop in dialog.cs to check for the mouse click X and Y, the mouse doesnt work!
can someone help me please?
thanks a ton! :)