Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: KS0108_PCF8574 mbed
menbed/menbedMenu.cpp@0:936f1c020120, 2012-09-05 (annotated)
- Committer:
- GuiTwo
- Date:
- Wed Sep 05 07:21:59 2012 +0000
- Revision:
- 0:936f1c020120
With KS0108;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| GuiTwo | 0:936f1c020120 | 1 | #include "mbed.h" |
| GuiTwo | 0:936f1c020120 | 2 | #include "include/menbedMenuItem.h" |
| GuiTwo | 0:936f1c020120 | 3 | #include "include/menbedMenu.h" |
| GuiTwo | 0:936f1c020120 | 4 | |
| GuiTwo | 0:936f1c020120 | 5 | MenbedMenu::MenbedMenu (uint8_t nItems, MenbedMenuItem *items[]) |
| GuiTwo | 0:936f1c020120 | 6 | { |
| GuiTwo | 0:936f1c020120 | 7 | parentMenu = NULL; |
| GuiTwo | 0:936f1c020120 | 8 | parentSelectedItemIndex = -1; |
| GuiTwo | 0:936f1c020120 | 9 | parentTopOfScreenItemIndex = 0; |
| GuiTwo | 0:936f1c020120 | 10 | |
| GuiTwo | 0:936f1c020120 | 11 | for (int i = 0; i<nItems; i++) |
| GuiTwo | 0:936f1c020120 | 12 | menuItems.push_back (items[i]); |
| GuiTwo | 0:936f1c020120 | 13 | } |