Jump to content

Recommended Posts

Posted

Hi.

I have been playing around with creating a multi-layer menu structure in C for my Midibox DMX application. Before I delve too deep into this I thought I would check to see if anyone else has created one they are prepared to share?

Thanks

Phil

Posted

basically what i did was set various modes the application can be in, and called a custom display formatting function based on the mode it's in.  i'm not sure of another way to do this, but this method made it easy to access any screen at any time.

Posted

basically what i did was set various modes the application can be in, and called a custom display formatting function based on the mode it's in.

I have found this (well I don't think it was lost....)

http://www.bytecraft.com/apps/cop8capp.pdf

The menu that they use in this sample appears to be quite configurable but I have been struggling to port it to SDCC....

That systemuses , as do TK's, the strategy ultra mentioned of holding a flag or flags which tell the update function what to do. Although it should work on SDCC with minimal changes, it's probably better to use something a bit lighter. You can use switch statements to call functions, and it'll build a nice fast jumptable.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...