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: F746_GUI_vV mbed Vision_Indus_IHM
Revision 15:57ef81ebf5bd, committed 2016-07-23
- Comitter:
- MikamiUitOpen
- Date:
- Sat Jul 23 04:33:28 2016 +0000
- Parent:
- 14:36859ef194d1
- Child:
- 16:3aed2b59c2c4
- Commit message:
- 16
Changed in this revision
| F746_GUI.lib | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/F746_GUI.lib Tue Jul 12 02:23:58 2016 +0000 +++ b/F746_GUI.lib Sat Jul 23 04:33:28 2016 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/users/MikamiUitOpen/code/F746_GUI/#b2762ec08863 +https://developer.mbed.org/users/MikamiUitOpen/code/F746_GUI/#483926be0cf1
--- a/main.cpp Tue Jul 12 02:23:58 2016 +0000
+++ b/main.cpp Sat Jul 23 04:33:28 2016 +0000
@@ -5,19 +5,14 @@
// GuiBase, Button, ButtonGroup, Label, NumericLabel, BlinkLabel,
// SeekBar, SeekbarGroup
//
-// 2016/07/12, Copyright (c) 2016 MIKAMI, Naoki
+// 2016/07/23, Copyright (c) 2016 MIKAMI, Naoki
//-----------------------------------------------------------------------
-#include "NumericLabel.hpp"
-#include "BlinkLabel.hpp"
-#include "ButtonGroup.hpp"
-#include "SeekbarGroup.hpp"
-
-using namespace Mikami;
+#include "F746_GUI.hpp"
int main()
{
- Label obj10(240, 2, "Dome: GUI parts, 2016/07/12, 11:24", Label::CENTER, Font16);
+ Label obj10(240, 2, "Dome: GUI parts, 2016/07/23, 12:24", Label::CENTER, Font16);
Label obj11(240, 20, "Button, ButtonGroup, Label, NumericLabel, BlinkLabel,",
Label::CENTER);
Label obj12(240, 32, "SeekBar, SeekbarGroup",
@@ -33,13 +28,11 @@
NumericLabel<int> bTouch(240, 112, Label::LEFT, Font12, LCD_COLOR_MAGENTA);
// Control status of bGroup1
- const string STR2[3] = {"0", "1", "2"};
- ButtonGroup bGroup2(160, 150, 66, 40, 3, STR2, 5, 5, 3);
+ ButtonGroup bGroup2(160, 150, 66, 40, 3, (string[]){"0", "1", "2"}, 5, 5, 3);
bGroup2.InactivateAll();
// Switching buttons to control barH active or inactive
- const string STR3[3] = {"ON", "OFF"};
- ButtonGroup bGroup3(10, 150, 66, 40, 2, STR3, 0, 0, 2);
+ ButtonGroup bGroup3(10, 150, 66, 40, 2, (string[]){"ON", "OFF"}, 0, 0, 2);
bGroup3.TouchedColor(0);
Button doNotTouch(250, 220, 120, 40, "Don't Touch", Font12,