Closed SanskarSontakke closed 1 month ago
You should just draw an alpha image or just a filled rectangle for test: this.canvas.DrawFilledRectangle(Color.Black, MouseManager.X, MouseManager.Y, 10, 10);
yes I did it but the screen gets flooded with the rectangles. I think so to delete the previous rectangle somehow.
Uhh you are not clearing your canvas. You can see a small cosmos OS here. Also with such things it's best to go to the official cosmos discord or discussions on github
Thank you It helped a lot. I think so I should close it.
Area of Cosmos - 2022 dev kit
Expected Behaviour - I want a mouse
I want to create a GUI with mouse. Here is my current code :
I want to use the function "HandleGUIInputs()" to show the mouse. I think that I should MouseManager.X and MouseManager.Y. But I don't know how to exactly use it. This is just a sub file and not the Kernel.cs. The linking and all stuff works perfect and I have tested it with many shapes. I just want it to show a mouse like a big dot or something like corsshair.