philetaylor Posted November 26, 2008 Report Share Posted November 26, 2008 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?ThanksPhil Quote Link to comment Share on other sites More sharing options...
ultra Posted November 26, 2008 Report Share Posted November 26, 2008 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. Quote Link to comment Share on other sites More sharing options...
philetaylor Posted November 26, 2008 Author Report Share Posted November 26, 2008 I have found this (well I don't think it was lost....)http://www.bytecraft.com/apps/cop8capp.pdfThe menu that they use in this sample appears to be quite configurable but I have been struggling to port it to SDCC....Phil Quote Link to comment Share on other sites More sharing options...
stryd_one Posted November 29, 2008 Report Share Posted November 29, 2008 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.pdfThe 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.