Menu sketch

Hi all

I`m currently trying to write a menu for my arduino reef controller,

I have arduino mega, 128x64glcd, ds1302 RTC, ethernet, 8 relay module, sd card module, and 3x temp sensors so far i have everything working and am loving it but now i`m nearly done i would like to make a menu for it rather than it just scrolling through everything on the glcd,

What i need is a little help with the menu as iv tried and tried and read and read and nothing works. does anyone have a menu for a similar project that i can have a look at iv tried all the online examples but i cant get any of them to work.
what i`m looking for is

Main screen = bitmap image
then i press menu button and get
2nd screen = 1. Lights
2.Time/Date
3.Ph
4.Temp
etc etc

then i can select one of the above and it takes me to another screen displaying info for it.

Please help people i`v been trying to write a menu for days now.

Thanks
rob

Hi
M2tklib could be used: Google Code Archive - Long-term storage for Google Code Project Hosting.
Precondition: Your display is already driven by Bill's GLCD v3 or by the dogm128 lib.

M2tklib follows a classical widget approach, it offers atomic and container elements to
compose menues and dialog boxes. See the tutorials on the m2tklib wiki area for some ideas.

Switching between graphics and menu is explained in tutorial 6:
http://code.google.com/p/m2tklib/wiki/t06glcd

For your main menu you could use a vlist container and several M2_ROOT buttons, or, if the menu has a lot of entries, you could also use M2_STRLIST along with a vertical scroll bar.

The main menu should switch to a dialog box (automatically done with M2_ROOT, or manually with setRoot). The construction of a dialog box is explained in tutoral 3 (Google Code Archive - Long-term storage for Google Code Project Hosting.).

Let me know if you have more questions.

Oliver

olikraus:
Hi
M2tklib could be used: Google Code Archive - Long-term storage for Google Code Project Hosting.
Precondition: Your display is already driven by Bill's GLCD v3 or by the dogm128 lib.

M2tklib follows a classical widget approach, it offers atomic and container elements to
compose menues and dialog boxes. See the tutorials on the m2tklib wiki area for some ideas.

Switching between graphics and menu is explained in tutorial 6:
Google Code Archive - Long-term storage for Google Code Project Hosting.

For your main menu you could use a vlist container and several M2_ROOT buttons, or, if the menu has a lot of entries, you could also use M2_STRLIST along with a vertical scroll bar.

The main menu should switch to a dialog box (automatically done with M2_ROOT, or manually with setRoot). The construction of a dialog box is explained in tutoral 3 (Google Code Archive - Long-term storage for Google Code Project Hosting.).

Let me know if you have more questions.

Oliver

Thanks Oliver thats a big help not using bills glcd lib but i can easily convert my code over as bills seems better than the one i`m using,

May thanks.
Rob