&damian-930 now i have kind of what i want to have. Need more shourtcuts and 2 more pens and some little details like pen icon and stuff. UI is dog shit. But overall, this is kind of a demo.
&damian-930 now i have kind of what i want to have. Need more shourtcuts and 2 more pens and some little details like pen icon and stuff. UI is dog shit. But overall, this is kind of a demo.
&damian-930 I now am able to full on draw and go back and back to front. Everything is on GPU now using raylib and OpenGL texture updates that raylib doesnt have a call for but i just do it manually via opengl call. Some wrong with the how mouse pos works when transparency is on, i have not done that yet, i just turned it on for the video
&damian-930 I got drawing and removing list of thing that got drawn working. 500 fps is cause i have some debug testing there that copies images every frame, but if turned off its 1800 frames ))
&damian-930 For now i have around 10-15 hours working on this (9 of which are from today, well ). A lot of time was spent googling and clauding to find win32 apis to use. I then decided that i dont need them now, but when i am done with drawing, i will come back to them, now knowing what to use. A bit ui was done also, but i turned it off. Most of the day i was just kind of like a vegetable, last 3 hours i somehow locked in and this is what came out of it.
&damian-930 Added a way to store and draw lines(records i call them) and then remove from the image. Image is stored on the GPU. Right now using Raylib. Only regular lines are here, no customisation. But we moving.