krysiu / brewtrolleralpha

Automatically exported from code.google.com/p/brewtrolleralpha
0 stars 0 forks source link

Develop Screen Library #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Much line the Menu library I'd like to suggest we develop a Screen library. 
This would just make the code easier to read. Each screen would have an init 
and an update function that could be passed in as a reference as a screen is 
defined. The update function could combine what is currently included in 
'screen core' and 'screen enter'. Multiple screens should be able to share 
init/update functions. This may require the screen function to have knowledge 
of the current active screen index. An example would be Assign Temp Sensor 
setup UI. One screen could be used for all sensors. The init function would 
need to know what screen index is being updated to know what Sensor name to 
display.

Original issue reported on code.google.com by mattreba@gmail.com on 15 Jan 2011 at 4:02

GoogleCodeExporter commented 9 years ago

Original comment by mattreba@gmail.com on 26 Jan 2011 at 8:21

GoogleCodeExporter commented 9 years ago

Original comment by mattreba@gmail.com on 26 Jan 2011 at 9:32