khchen / wNim

Nim's Windows GUI Framework
MIT License
326 stars 17 forks source link

Paint clone example #66

Closed rocket111185 closed 4 years ago

rocket111185 commented 4 years ago

Hi, Ward! I'm new to Nim, so I wanted to try to make something for training.

But I can't even start, because I don't understand, how to make a drawable part. Can you make a simple example, just a window (wFrame) with a drawable part and one instrument (pen)?

khchen commented 4 years ago

Here is the example.

https://github.com/khchen/wNim/blob/master/examples/scribble.nim

rocket111185 commented 4 years ago

Thank you so much. You're a man of culture)