Thread: Pages handling in a embedded source

  1. #1
    Registered User
    Join Date
    Jul 2013
    Posts
    1

    Pages handling in a embedded source

    Hi to all. And excuse me if I wron some rules in this great forum I've discovered today!

    I'ma firmware writing, and usually use only C language (not my decision, unfortunately!).
    In many application we've only a text display (2 rows 16 columns ascii char, or 4x20 or something else). But the question can be used also for semi graphics panel and so on.

    I'm looking for an example / library / sourcecode to handling all the pages in the project. When the program start you've a 1st page (wth info abt release, hallo screen and so on), then with a arrows buttons you can navigate throught many pages. Some of these can be called by SW (or HW) events. (Button, alarm, end of job ...)
    In abt 20 year of experience3 I?ve seen many type of different code. There is some suggestion, example or something like for this?

    Thanks in advance!

  2. #2
    Registered User
    Join Date
    Apr 2013
    Posts
    1,658
    I recall an Macintosh program from back in the 1980's that used structures that included lists for menu like stuff and pointers to functions that were used to set handlers for specific event types as part of a tree like menu system. The same basic code handled all the user interface stuff, relying on the structure members to handle the currently displayed menu.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Embedded Linux & Embedded Java
    By jdomm95 in forum Linux Programming
    Replies: 4
    Last Post: 10-02-2012, 09:01 AM
  2. Replies: 7
    Last Post: 11-04-2011, 10:31 AM
  3. handling man (groff) pages in C
    By MK27 in forum Linux Programming
    Replies: 3
    Last Post: 09-12-2008, 12:46 PM
  4. add source files to embedded VC 4.0
    By George2 in forum C++ Programming
    Replies: 4
    Last Post: 06-13-2006, 03:28 AM
  5. pages
    By lilhawk2892 in forum C++ Programming
    Replies: 4
    Last Post: 10-06-2005, 01:18 PM