Working on a project with a uLCD-display from 4DSystems.
I'm wondering about the use of classes with the parent-children behavior.
Let assume that:
- My project has 10 different Windows, so called Forms
- Every Form can hold a number of Objects
- The objects could be: buttons, images, labels etc
Each object have properties like:
- position (x,y)
- Size (dx, dY)
- Color etc
- events (what shall happen if this obj is pressed etc)
Any suggestions in how to get started with the Parent-child class implementation?
I kind of know Cpp by theory, but this is the first time i use it in practice, so i will need some guidelines for start, so i know if i'm on the right track.
Is classes the right way to go in Arudino Mega? Or is it way too RAM-consuming? What other options do i have?
All feedback is appreciated!