Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Framework to support generic elements #2

Open
sle118 opened this issue Feb 23, 2016 · 2 comments
Open

Framework to support generic elements #2

sle118 opened this issue Feb 23, 2016 · 2 comments

Comments

@sle118
Copy link

sle118 commented Feb 23, 2016

I have completed an implementation of an image library that reads from spiffy and decodes pictures to memory. My goal is to provide an easy way to add dynamic elements using small icons, 16x16 for example, to picture certain statuses.

I like the way InfoScreens was built and I wonder if there is any way we could implement generic objects that can draw themselves inside a virtual port ( rectangle) provided by the framework. Element classes could implement virtual methods that are needed by InfoScreens. This might require rethinking screen layout, unless elements are limited to a given max height.

@alon24
Copy link
Owner

alon24 commented Feb 23, 2016

I guess the first thing would be to port the picture code to rtos, I am
open to this, I think its a great idea

On Tue, Feb 23, 2016, 05:29 sle118 [email protected] wrote:

I have completed an implementation of an image library that reads from
spiffy and decodes pictures to memory. My goal is to provide an easy way to
add dynamic elements using small icons, 16x16 for example, to picture
certain statuses.

I like the way InfoScreens was built and I wonder if there is any way we
could implement generic objects that can draw themselves inside a virtual
port ( rectangle) provided by the framework. Element classes could
implement virtual methods that are needed by InfoScreens. This might
require rethinking screen layout, unless elements are limited to a given
max height.


Reply to this email directly or view it on GitHub
#2.

@sle118
Copy link
Author

sle118 commented Feb 23, 2016

I am on it!

On Mon, Feb 22, 2016 at 8:59 PM -0800, "alon24" [email protected] wrote:

I guess the first thing would be to port the picture code to rtos, I am
open to this, I think its a great idea

On Tue, Feb 23, 2016, 05:29 sle118 [email protected] wrote:

I have completed an implementation of an image library that reads from
spiffy and decodes pictures to memory. My goal is to provide an easy way to
add dynamic elements using small icons, 16x16 for example, to picture
certain statuses.

I like the way InfoScreens was built and I wonder if there is any way we
could implement generic objects that can draw themselves inside a virtual
port ( rectangle) provided by the framework. Element classes could
implement virtual methods that are needed by InfoScreens. This might
require rethinking screen layout, unless elements are limited to a given
max height.


Reply to this email directly or view it on GitHub
#2.


Reply to this email directly or view it on GitHub:
#2 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants