![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Simple demo program of SeekBar, NumericLabel, and ButtonGroup. SeekBar, NumericLabel, ButtonGroup の簡単な使い方の例.
Diff: main.cpp
- Revision:
- 2:df50384a78e9
- Parent:
- 1:81cfe85b6544
- Child:
- 3:2d0f4ed8babd
diff -r 81cfe85b6544 -r df50384a78e9 main.cpp --- a/main.cpp Sat Nov 19 08:31:36 2016 +0000 +++ b/main.cpp Fri Mar 17 01:24:09 2017 +0000 @@ -2,7 +2,7 @@ // SeekBar, NumericLabel, ButtonGroup のデモプログラム // Demo program of SeekBar, NumericLabel, and ButtonGroup // -// 2016/11/19, Copyright (c) 2016 MIKAMI, Naoki +// 2017/03/17, Copyright (c) 2017 MIKAMI, Naoki //--------------------------------------------------------- #include "F746_GUI.hpp" @@ -11,11 +11,12 @@ int main() { Label label1(240, 40, "Example", Label::CENTER, Font16); - Label label2(240, 60, "SeekBar, NumericLabel, ButtonGroup", Label::CENTER, Font16); + Label label2(240, 60, "SeekBar, NumericLabel, ButtonGroup", + Label::CENTER, Font16); SeekBar myBar(100, 200, 250, -1,1, 0, "-1", "0", "1"); NumericLabel<float> myLabel(210, 150, "%5.2f", 0); - ButtonGroup bG(400, 200, 50, 30, 2, (string[]){"ON", "OFF"}, 0, 5, 1, 0); + ButtonGroup bG(420, 196, 50, 36, 2, (string[]){"ON", "OFF"}, 0, 5, 1, 0); while (true) {