diff --git a/alert.png b/alert.png index 0203c09..1f941ce 100644 Binary files a/alert.png and b/alert.png differ diff --git a/alert_button.png b/alert_button.png index 2ac95e5..610644f 100644 Binary files a/alert_button.png and b/alert_button.png differ diff --git a/annotated.html b/annotated.html index 1f83a41..6747207 100644 --- a/annotated.html +++ b/annotated.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
@@ -174,12 +174,13 @@
Here are the classes, structs, unions and interfaces with brief descriptions:
-
[detail level 12]
+
[detail level 123]
- - + + +
 Nrd
 CConsoleConsole class
 CImageImage class
 CSelectorSelector class
 Crd_viewRobodash view structure
 CSelectorSelector class
 Croutine
 Crd_viewRobodash view structure
diff --git a/api_8h.html b/api_8h.html index 42eab7c..65d119e 100644 --- a/api_8h.html +++ b/api_8h.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
@@ -192,7 +192,7 @@ #define RD_VERSION_MAJOR   2   -#define RD_VERSION_MINOR   0 +#define RD_VERSION_MINOR   1   #define RD_VERSION_PATCH   0 diff --git a/api_8h_source.html b/api_8h_source.html index b81a2e7..342b038 100644 --- a/api_8h_source.html +++ b/api_8h_source.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
@@ -183,7 +183,7 @@
9
10#define ROBODASH
11#define RD_VERSION_MAJOR 2
-
12#define RD_VERSION_MINOR 0
+
12#define RD_VERSION_MINOR 1
13#define RD_VERSION_PATCH 0
14
15#include "liblvgl/lvgl.h"
diff --git a/apix_8h.html b/apix_8h.html index 1fc4971..7db54ad 100644 --- a/apix_8h.html +++ b/apix_8h.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/apix_8h_source.html b/apix_8h_source.html index faaab5e..40bc477 100644 --- a/apix_8h_source.html +++ b/apix_8h_source.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/assets_8h.html b/assets_8h.html index 43a0357..ad696d1 100644 --- a/assets_8h.html +++ b/assets_8h.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/assets_8h_source.html b/assets_8h_source.html index 48c3694..a21e486 100644 --- a/assets_8h_source.html +++ b/assets_8h_source.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/classes.html b/classes.html index 998db6e..4e668d6 100644 --- a/classes.html +++ b/classes.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
@@ -183,7 +183,7 @@
Image (rd)
R
-
rd_view
+
rd_view
Selector::routine (rd)
S
Selector (rd)
diff --git a/classrd_1_1Console-members.html b/classrd_1_1Console-members.html index 7d997ba..6b47ad3 100644 --- a/classrd_1_1Console-members.html +++ b/classrd_1_1Console-members.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/classrd_1_1Console.html b/classrd_1_1Console.html index 7bbee8d..43f2f40 100644 --- a/classrd_1_1Console.html +++ b/classrd_1_1Console.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/classrd_1_1Image-members.html b/classrd_1_1Image-members.html index 38e9986..5c2bd27 100644 --- a/classrd_1_1Image-members.html +++ b/classrd_1_1Image-members.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/classrd_1_1Image.html b/classrd_1_1Image.html index 64c2845..e88c30d 100644 --- a/classrd_1_1Image.html +++ b/classrd_1_1Image.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/classrd_1_1Selector-members.html b/classrd_1_1Selector-members.html index 7dc08ee..d6e9fb8 100644 --- a/classrd_1_1Selector-members.html +++ b/classrd_1_1Selector-members.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
@@ -180,7 +180,8 @@ routine_action_t typedef (defined in rd::Selector)rd::Selector routine_t typedef (defined in rd::Selector)rd::Selector run_auton()rd::Selector - Selector(std::vector< routine_t > autons)rd::Selector + Selector(std::string name, std::vector< routine_t > autons)rd::Selector + Selector(std::vector< routine_t > autons)rd::Selector diff --git a/classrd_1_1Selector.html b/classrd_1_1Selector.html index 81373e9..ef05015 100644 --- a/classrd_1_1Selector.html +++ b/classrd_1_1Selector.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
@@ -171,6 +171,7 @@
+Classes | List of all members
rd::Selector Class Reference
@@ -181,20 +182,28 @@

#include <selector.hpp>

+ + + +

+Classes

struct  routine
 
- - + +

Public Types

Selector Typedefs
typedef std::function< void()> routine_action_t
 
-typedef std::pair< std::string, routine_action_t > routine_t
 
+typedef struct rd::Selector::routine routine_t
 
- + + + + + + +

Public Member Functions

Selector Functions
 Selector (std::vector< routine_t > autons)
 Selector (std::string name, std::vector< routine_t > autons)
 Create autonomous selector.
 
 Selector (std::vector< routine_t > autons)
 Create autonomous selector.
 
diff --git a/classrd_1_1Selector.js b/classrd_1_1Selector.js index b181ac1..40d94d9 100644 --- a/classrd_1_1Selector.js +++ b/classrd_1_1Selector.js @@ -1,5 +1,6 @@ var classrd_1_1Selector = [ + [ "Selector", "group__selector.html#ga66183732b5637b7519e673ab644fb307", null ], [ "Selector", "group__selector.html#ga0206ee21bbf67d8a0d2e8adae4ea081b", null ], [ "focus", "group__selector.html#ga8f824c347f67daf37463314b2cd5303c", null ], [ "run_auton", "group__selector.html#ga36c84f580abfccd69640f042a924a4ab", null ] diff --git a/console_8hpp.html b/console_8hpp.html index 26dc88a..e369727 100644 --- a/console_8hpp.html +++ b/console_8hpp.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/console_8hpp_source.html b/console_8hpp_source.html index 4cf347c..0931fed 100644 --- a/console_8hpp_source.html +++ b/console_8hpp_source.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/core_8h.html b/core_8h.html index 52fc961..6abd268 100644 --- a/core_8h.html +++ b/core_8h.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/core_8h_source.html b/core_8h_source.html index 1fbd579..6d2d2a1 100644 --- a/core_8h_source.html +++ b/core_8h_source.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/dir_810e6677597a758262d47477e73b118d.html b/dir_810e6677597a758262d47477e73b118d.html index 873cac7..ecec56c 100644 --- a/dir_810e6677597a758262d47477e73b118d.html +++ b/dir_810e6677597a758262d47477e73b118d.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/dir_fe06972e53893249adce5a50c45e9385.html b/dir_fe06972e53893249adce5a50c45e9385.html index 08e51ed..2215d9d 100644 --- a/dir_fe06972e53893249adce5a50c45e9385.html +++ b/dir_fe06972e53893249adce5a50c45e9385.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/files.html b/files.html index 835ccbd..79682d0 100644 --- a/files.html +++ b/files.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/filesystem_8h.html b/filesystem_8h.html index 8f528c6..b1ee24d 100644 --- a/filesystem_8h.html +++ b/filesystem_8h.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/filesystem_8h_source.html b/filesystem_8h_source.html index 19da0b0..d2fe03a 100644 --- a/filesystem_8h_source.html +++ b/filesystem_8h_source.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
diff --git a/functions.html b/functions.html index ce42055..24b3559 100644 --- a/functions.html +++ b/functions.html @@ -105,7 +105,7 @@
Robodash 2.0.0 2.1.0
A GUI toolkit for PROS 4
@@ -179,7 +179,7 @@
  • printf() : rd::Console
  • println() : rd::Console
  • run_auton() : rd::Selector
  • -
  • Selector() : rd::Selector
  • +
  • Selector() : rd::Selector
  • diff --git a/functions_func.html b/functions_func.html index 348b8a0..577b357 100644 --- a/functions_func.html +++ b/functions_func.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    @@ -179,7 +179,7 @@
  • printf() : rd::Console
  • println() : rd::Console
  • run_auton() : rd::Selector
  • -
  • Selector() : rd::Selector
  • +
  • Selector() : rd::Selector
  • diff --git a/globals.html b/globals.html index 63aa67f..863e0f0 100644 --- a/globals.html +++ b/globals.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    diff --git a/globals_enum.html b/globals_enum.html index 4156cff..f448d22 100644 --- a/globals_enum.html +++ b/globals_enum.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    diff --git a/globals_func.html b/globals_func.html index 1fc7031..a007c53 100644 --- a/globals_func.html +++ b/globals_func.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    diff --git a/globals_type.html b/globals_type.html index 1753e50..4f7238e 100644 --- a/globals_type.html +++ b/globals_type.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    diff --git a/group__console.html b/group__console.html index 1323d39..176bbe9 100644 --- a/group__console.html +++ b/group__console.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    diff --git a/group__core.html b/group__core.html index e126ff3..1669b54 100644 --- a/group__core.html +++ b/group__core.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    diff --git a/group__image.html b/group__image.html index 52ec004..442adc4 100644 --- a/group__image.html +++ b/group__image.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    diff --git a/group__selector.html b/group__selector.html index d5f77ad..03ed9a9 100644 --- a/group__selector.html +++ b/group__selector.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    @@ -172,7 +172,8 @@
    Selector
    @@ -191,17 +192,34 @@
    class  rd::Selector
     Selector class. More...
     
    struct  rd::Selector::routine
     
    + + + + + + +

    +Variables

    +std::string rd::Selector::routine::name
     
    +routine_action_t rd::Selector::routine::action
     
    +std::string rd::Selector::routine::img = ""
     
    - - + +

    Selector Typedefs

    typedef std::function< void()> rd::Selector::routine_action_t
     
    -typedef std::pair< std::string, routine_action_t > rd::Selector::routine_t
     
    +typedef struct rd::Selector::routine rd::Selector::routine_t
     
    - + + + + - + @@ -243,7 +298,6 @@

    Bug:
    Multiple selectors cannot be active at the same time.
    diff --git a/group__selector.js b/group__selector.js index da5e766..4731656 100644 --- a/group__selector.js +++ b/group__selector.js @@ -2,10 +2,13 @@ var group__selector = [ [ "selector.hpp", "selector_8hpp.html", null ], [ "rd::Selector", "classrd_1_1Selector.html", [ + [ "Selector", "group__selector.html#ga66183732b5637b7519e673ab644fb307", null ], [ "Selector", "group__selector.html#ga0206ee21bbf67d8a0d2e8adae4ea081b", null ], [ "focus", "group__selector.html#ga8f824c347f67daf37463314b2cd5303c", null ], [ "run_auton", "group__selector.html#ga36c84f580abfccd69640f042a924a4ab", null ] ] ], + [ "rd::Selector::routine", "structrd_1_1Selector_1_1routine.html", null ], + [ "rd::Selector::Selector", "group__selector.html#ga66183732b5637b7519e673ab644fb307", null ], [ "rd::Selector::Selector", "group__selector.html#ga0206ee21bbf67d8a0d2e8adae4ea081b", null ], [ "rd::Selector::focus", "group__selector.html#ga8f824c347f67daf37463314b2cd5303c", null ], [ "rd::Selector::run_auton", "group__selector.html#ga36c84f580abfccd69640f042a924a4ab", null ] diff --git a/image_8hpp.html b/image_8hpp.html index 15217d0..eb31e88 100644 --- a/image_8hpp.html +++ b/image_8hpp.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    diff --git a/image_8hpp_source.html b/image_8hpp_source.html index ae392e3..8841e9b 100644 --- a/image_8hpp_source.html +++ b/image_8hpp_source.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    diff --git a/index.html b/index.html index 3872113..d363039 100644 --- a/index.html +++ b/index.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    diff --git a/installing.html b/installing.html index e2c87c6..64638c0 100644 --- a/installing.html +++ b/installing.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    diff --git a/navtreedata.js b/navtreedata.js index a97f8e8..9b3ff0f 100644 --- a/navtreedata.js +++ b/navtreedata.js @@ -30,7 +30,6 @@ var NAVTREE = [ "User Interface", "ui.html", [ [ "Alerts", "ui.html#autotoc_md4", null ] ] ], - [ "Bug List", "bug.html", null ], [ "Topics", "topics.html", "topics" ], [ "Classes", "annotated.html", [ [ "Class List", "annotated.html", "annotated_dup" ], diff --git a/navtreeindex0.js b/navtreeindex0.js index 1a3b752..8ea5988 100644 --- a/navtreeindex0.js +++ b/navtreeindex0.js @@ -1,66 +1,67 @@ var NAVTREEINDEX0 = { -"annotated.html":[5,0], -"api_8h.html":[6,0,2], -"api_8h_source.html":[6,0,2], -"apix_8h.html":[6,0,3], -"apix_8h_source.html":[6,0,3], -"assets_8h.html":[6,0,0,0], -"assets_8h_source.html":[6,0,0,0], -"bug.html":[3], -"classrd_1_1Console.html":[4,1,1], -"classrd_1_1Image.html":[4,2,1], -"classrd_1_1Selector.html":[4,3,1], -"console_8hpp.html":[4,1,0], -"core_8h.html":[6,0,4], -"core_8h.html":[4,0,0], -"core_8h_source.html":[6,0,4], -"dir_810e6677597a758262d47477e73b118d.html":[6,0,1], -"dir_fe06972e53893249adce5a50c45e9385.html":[6,0,0], -"files.html":[6,0], -"filesystem_8h.html":[6,0,0,1], -"filesystem_8h_source.html":[6,0,0,1], -"functions.html":[5,1,0], -"functions_func.html":[5,1,1], -"globals.html":[6,1,0], -"globals_enum.html":[6,1,3], -"globals_func.html":[6,1,1], -"globals_type.html":[6,1,2], -"group__console.html":[4,1], -"group__console.html#ga50b7cc2b4c81e8ffb5e525fd24415569":[4,1,7], -"group__console.html#ga5daa22a4ed2cc2a4d02c99c1324d6e63":[4,1,3], -"group__console.html#ga8caebc6c99af499b1ddd5bd40581eba1":[4,1,2], -"group__console.html#ga901c1b576599ae46096c7b4d90e757dc":[4,1,5], -"group__console.html#gabe06174e217c0391d488168839073581":[4,1,4], -"group__console.html#gac6d23173b88223b1f5ab365192e8ef89":[4,1,6], -"group__core.html":[4,0], -"group__core.html#ga06317955ba1241ad37d3fbd50ae75254":[4,0,8], -"group__core.html#ga19bc42fd864f9c14e4710b9ec2dd5631":[4,0,7], -"group__core.html#ga20d76c93f6c264a9e585bc98fdea83f5":[4,0,11], -"group__core.html#ga75e568ff4d1a621830fed7bba86b21a9":[4,0,9], -"group__core.html#ga7aa13a1312f4232db533db0e40b1a5f0":[4,0,10], -"group__core.html#gaac30b45d648de30e2c32b1d8cac99d75":[4,0,3], -"group__core.html#gabccfe48c57880d25f21e6db67cfb0277":[4,0,4], -"group__core.html#gabf8b58c0e1a80b23109f1e14a9542117":[4,0,2], -"group__core.html#gad825f912081674f39ae1f8d255f6eb84":[4,0,6], -"group__core.html#gadb1c96b770111c3d5d365c12e0dab598":[4,0,5], -"group__image.html":[4,2], -"group__image.html#ga317205da14ca86b86f2d1bd1bb310101":[4,2,4], -"group__image.html#ga4f1a26e44ab7ea69641e04946cf3f6bd":[4,2,3], -"group__image.html#gab91ac9ff8889a5a8b52887c507ebbba2":[4,2,2], -"group__selector.html":[4,3], -"group__selector.html#ga0206ee21bbf67d8a0d2e8adae4ea081b":[4,3,2], -"group__selector.html#ga36c84f580abfccd69640f042a924a4ab":[4,3,4], -"group__selector.html#ga8f824c347f67daf37463314b2cd5303c":[4,3,3], -"image_8hpp.html":[4,2,0], +"annotated.html":[4,0], +"api_8h.html":[5,0,2], +"api_8h_source.html":[5,0,2], +"apix_8h.html":[5,0,3], +"apix_8h_source.html":[5,0,3], +"assets_8h.html":[5,0,0,0], +"assets_8h_source.html":[5,0,0,0], +"classrd_1_1Console.html":[3,1,1], +"classrd_1_1Image.html":[3,2,1], +"classrd_1_1Selector.html":[3,3,1], +"console_8hpp.html":[3,1,0], +"core_8h.html":[5,0,4], +"core_8h.html":[3,0,0], +"core_8h_source.html":[5,0,4], +"dir_810e6677597a758262d47477e73b118d.html":[5,0,1], +"dir_fe06972e53893249adce5a50c45e9385.html":[5,0,0], +"files.html":[5,0], +"filesystem_8h.html":[5,0,0,1], +"filesystem_8h_source.html":[5,0,0,1], +"functions.html":[4,1,0], +"functions_func.html":[4,1,1], +"globals.html":[5,1,0], +"globals_enum.html":[5,1,3], +"globals_func.html":[5,1,1], +"globals_type.html":[5,1,2], +"group__console.html":[3,1], +"group__console.html#ga50b7cc2b4c81e8ffb5e525fd24415569":[3,1,7], +"group__console.html#ga5daa22a4ed2cc2a4d02c99c1324d6e63":[3,1,3], +"group__console.html#ga8caebc6c99af499b1ddd5bd40581eba1":[3,1,2], +"group__console.html#ga901c1b576599ae46096c7b4d90e757dc":[3,1,5], +"group__console.html#gabe06174e217c0391d488168839073581":[3,1,4], +"group__console.html#gac6d23173b88223b1f5ab365192e8ef89":[3,1,6], +"group__core.html":[3,0], +"group__core.html#ga06317955ba1241ad37d3fbd50ae75254":[3,0,8], +"group__core.html#ga19bc42fd864f9c14e4710b9ec2dd5631":[3,0,7], +"group__core.html#ga20d76c93f6c264a9e585bc98fdea83f5":[3,0,11], +"group__core.html#ga75e568ff4d1a621830fed7bba86b21a9":[3,0,9], +"group__core.html#ga7aa13a1312f4232db533db0e40b1a5f0":[3,0,10], +"group__core.html#gaac30b45d648de30e2c32b1d8cac99d75":[3,0,3], +"group__core.html#gabccfe48c57880d25f21e6db67cfb0277":[3,0,4], +"group__core.html#gabf8b58c0e1a80b23109f1e14a9542117":[3,0,2], +"group__core.html#gad825f912081674f39ae1f8d255f6eb84":[3,0,6], +"group__core.html#gadb1c96b770111c3d5d365c12e0dab598":[3,0,5], +"group__image.html":[3,2], +"group__image.html#ga317205da14ca86b86f2d1bd1bb310101":[3,2,4], +"group__image.html#ga4f1a26e44ab7ea69641e04946cf3f6bd":[3,2,3], +"group__image.html#gab91ac9ff8889a5a8b52887c507ebbba2":[3,2,2], +"group__selector.html":[3,3], +"group__selector.html#ga0206ee21bbf67d8a0d2e8adae4ea081b":[3,3,4], +"group__selector.html#ga36c84f580abfccd69640f042a924a4ab":[3,3,6], +"group__selector.html#ga66183732b5637b7519e673ab644fb307":[3,3,3], +"group__selector.html#ga8f824c347f67daf37463314b2cd5303c":[3,3,5], +"image_8hpp.html":[3,2,0], "index.html":[], "installing.html":[0], "pages.html":[], -"selector_8hpp.html":[4,3,0], -"structrd__view.html":[4,0,1], -"styles_8h.html":[6,0,0,2], -"styles_8h_source.html":[6,0,0,2], -"topics.html":[4], +"selector_8hpp.html":[3,3,0], +"structrd_1_1Selector_1_1routine.html":[3,3,2], +"structrd__view.html":[3,0,1], +"styles_8h.html":[5,0,0,2], +"styles_8h_source.html":[5,0,0,2], +"topics.html":[3], "ui.html":[2], "ui.html#autotoc_md4":[2,0], "usage.html":[1] diff --git a/pages.html b/pages.html index c2af06d..46ff1a7 100644 --- a/pages.html +++ b/pages.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    @@ -178,7 +178,6 @@

    -

    Selector Functions

     rd::Selector::Selector (std::vector< routine_t > autons)
     rd::Selector::Selector (std::string name, std::vector< routine_t > autons)
     Create autonomous selector.
     
     rd::Selector::Selector (std::vector< routine_t > autons)
     Create autonomous selector.
     
    @@ -218,10 +236,47 @@
    -

    A function selector for easily managing autonomous routines. Supports saving a configuration to an SD card, and automatically loading it on the next run.

    +

    A function selector for easily managing autonomous routines. If available, automatically saves the current configuration to an SD card and loads it on the next run. Also supports displaying images from the SD card.

    Function Documentation

    + +

    ◆ Selector() [1/2]

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    rd::Selector::Selector (std::string name,
    std::vector< routine_tautons 
    )
    +
    + +

    Create autonomous selector.

    +
    Parameters
    + + + +
    nameName of the autonomous selector
    autonsVector of autonomous rotuines
    +
    +
    + +
    +
    -

    ◆ Selector()

    +

    ◆ Selector() [2/2]

    @@ -229,7 +284,7 @@

    rd::Selector::Selector

    (std::vector< routine_t > std::vector< routine_t autons)
     Installation
     Usage
     User Interface
     Bug List
    diff --git a/search/all_1.js b/search/all_1.js index 8a2ba60..08dd30b 100644 --- a/search/all_1.js +++ b/search/all_1.js @@ -1,4 +1,8 @@ var searchData= [ - ['bug_20list_0',['Bug List',['../bug.html',1,'']]] + ['clear_0',['clear',['../group__console.html#ga5daa22a4ed2cc2a4d02c99c1324d6e63',1,'rd::Console']]], + ['console_1',['console',['../classrd_1_1Console.html',1,'rd::Console'],['../group__console.html#ga8caebc6c99af499b1ddd5bd40581eba1',1,'rd::Console::Console()'],['../group__console.html',1,'Console']]], + ['console_2ehpp_2',['console.hpp',['../console_8hpp.html',1,'']]], + ['core_3',['core',['../group__core.html',1,'Core'],['../usage.html#autotoc_md3',1,'Core']]], + ['core_2eh_4',['core.h',['../core_8h.html',1,'']]] ]; diff --git a/search/all_2.js b/search/all_2.js index 08dd30b..6e5a83b 100644 --- a/search/all_2.js +++ b/search/all_2.js @@ -1,8 +1,5 @@ var searchData= [ - ['clear_0',['clear',['../group__console.html#ga5daa22a4ed2cc2a4d02c99c1324d6e63',1,'rd::Console']]], - ['console_1',['console',['../classrd_1_1Console.html',1,'rd::Console'],['../group__console.html#ga8caebc6c99af499b1ddd5bd40581eba1',1,'rd::Console::Console()'],['../group__console.html',1,'Console']]], - ['console_2ehpp_2',['console.hpp',['../console_8hpp.html',1,'']]], - ['core_3',['core',['../group__core.html',1,'Core'],['../usage.html#autotoc_md3',1,'Core']]], - ['core_2eh_4',['core.h',['../core_8h.html',1,'']]] + ['filesystem_2eh_0',['filesystem.h',['../filesystem_8h.html',1,'']]], + ['focus_1',['focus',['../group__console.html#gabe06174e217c0391d488168839073581',1,'rd::Console::focus()'],['../group__image.html#ga317205da14ca86b86f2d1bd1bb310101',1,'rd::Image::focus()'],['../group__selector.html#ga8f824c347f67daf37463314b2cd5303c',1,'rd::Selector::focus()']]] ]; diff --git a/search/all_3.js b/search/all_3.js index 6e5a83b..f59e965 100644 --- a/search/all_3.js +++ b/search/all_3.js @@ -1,5 +1,8 @@ var searchData= [ - ['filesystem_2eh_0',['filesystem.h',['../filesystem_8h.html',1,'']]], - ['focus_1',['focus',['../group__console.html#gabe06174e217c0391d488168839073581',1,'rd::Console::focus()'],['../group__image.html#ga317205da14ca86b86f2d1bd1bb310101',1,'rd::Image::focus()'],['../group__selector.html#ga8f824c347f67daf37463314b2cd5303c',1,'rd::Selector::focus()']]] + ['image_0',['image',['../classrd_1_1Image.html',1,'rd::Image'],['../group__image.html#ga4f1a26e44ab7ea69641e04946cf3f6bd',1,'rd::Image::Image(std::string path, std::string name="Image")'],['../group__image.html#gab91ac9ff8889a5a8b52887c507ebbba2',1,'rd::Image::Image(lv_img_dsc_t image_dsc, std::string name="Image")'],['../group__image.html',1,'Image']]], + ['image_2ehpp_1',['image.hpp',['../image_8hpp.html',1,'']]], + ['installation_2',['Installation',['../installing.html',1,'']]], + ['installing_20the_20template_3',['Installing the template',['../installing.html#autotoc_md1',1,'']]], + ['interface_4',['User Interface',['../ui.html',1,'']]] ]; diff --git a/search/all_4.js b/search/all_4.js index f59e965..6a64cdf 100644 --- a/search/all_4.js +++ b/search/all_4.js @@ -1,8 +1,7 @@ var searchData= [ - ['image_0',['image',['../classrd_1_1Image.html',1,'rd::Image'],['../group__image.html#ga4f1a26e44ab7ea69641e04946cf3f6bd',1,'rd::Image::Image(std::string path, std::string name="Image")'],['../group__image.html#gab91ac9ff8889a5a8b52887c507ebbba2',1,'rd::Image::Image(lv_img_dsc_t image_dsc, std::string name="Image")'],['../group__image.html',1,'Image']]], - ['image_2ehpp_1',['image.hpp',['../image_8hpp.html',1,'']]], - ['installation_2',['Installation',['../installing.html',1,'']]], - ['installing_20the_20template_3',['Installing the template',['../installing.html#autotoc_md1',1,'']]], - ['interface_4',['User Interface',['../ui.html',1,'']]] + ['prerequisites_0',['Prerequisites',['../installing.html#autotoc_md0',1,'']]], + ['print_1',['print',['../group__console.html#ga901c1b576599ae46096c7b4d90e757dc',1,'rd::Console']]], + ['printf_2',['printf',['../group__console.html#gac6d23173b88223b1f5ab365192e8ef89',1,'rd::Console']]], + ['println_3',['println',['../group__console.html#ga50b7cc2b4c81e8ffb5e525fd24415569',1,'rd::Console']]] ]; diff --git a/search/all_5.js b/search/all_5.js index 8497d4a..74ae05b 100644 --- a/search/all_5.js +++ b/search/all_5.js @@ -1,4 +1,17 @@ var searchData= [ - ['list_0',['Bug List',['../bug.html',1,'']]] + ['rd_5fanim_5fstate_0',['rd_anim_state',['../group__core.html#gabccfe48c57880d25f21e6db67cfb0277',1,'core.h']]], + ['rd_5fanim_5fstate_5ft_1',['rd_anim_state_t',['../group__core.html#gabf8b58c0e1a80b23109f1e14a9542117',1,'core.h']]], + ['rd_5fview_2',['rd_view',['../structrd__view.html',1,'']]], + ['rd_5fview_5falert_3',['rd_view_alert',['../group__core.html#gadb1c96b770111c3d5d365c12e0dab598',1,'core.h']]], + ['rd_5fview_5fcreate_4',['rd_view_create',['../group__core.html#gad825f912081674f39ae1f8d255f6eb84',1,'core.h']]], + ['rd_5fview_5fdel_5',['rd_view_del',['../group__core.html#ga19bc42fd864f9c14e4710b9ec2dd5631',1,'core.h']]], + ['rd_5fview_5ffocus_6',['rd_view_focus',['../group__core.html#ga06317955ba1241ad37d3fbd50ae75254',1,'core.h']]], + ['rd_5fview_5fget_5fanims_7',['rd_view_get_anims',['../group__core.html#ga75e568ff4d1a621830fed7bba86b21a9',1,'core.h']]], + ['rd_5fview_5fobj_8',['rd_view_obj',['../group__core.html#ga7aa13a1312f4232db533db0e40b1a5f0',1,'core.h']]], + ['rd_5fview_5fset_5fanims_9',['rd_view_set_anims',['../group__core.html#ga20d76c93f6c264a9e585bc98fdea83f5',1,'core.h']]], + ['rd_5fview_5ft_10',['rd_view_t',['../group__core.html#gaac30b45d648de30e2c32b1d8cac99d75',1,'core.h']]], + ['robodash_11',['robodash',['../index.html',1,'']]], + ['routine_12',['routine',['../structrd_1_1Selector_1_1routine.html',1,'rd::Selector']]], + ['run_5fauton_13',['run_auton',['../group__selector.html#ga36c84f580abfccd69640f042a924a4ab',1,'rd::Selector']]] ]; diff --git a/search/all_6.js b/search/all_6.js index 6a64cdf..796444f 100644 --- a/search/all_6.js +++ b/search/all_6.js @@ -1,7 +1,6 @@ var searchData= [ - ['prerequisites_0',['Prerequisites',['../installing.html#autotoc_md0',1,'']]], - ['print_1',['print',['../group__console.html#ga901c1b576599ae46096c7b4d90e757dc',1,'rd::Console']]], - ['printf_2',['printf',['../group__console.html#gac6d23173b88223b1f5ab365192e8ef89',1,'rd::Console']]], - ['println_3',['println',['../group__console.html#ga50b7cc2b4c81e8ffb5e525fd24415569',1,'rd::Console']]] + ['selector_0',['selector',['../classrd_1_1Selector.html',1,'rd::Selector'],['../group__selector.html#ga66183732b5637b7519e673ab644fb307',1,'rd::Selector::Selector(std::string name, std::vector< routine_t > autons)'],['../group__selector.html#ga0206ee21bbf67d8a0d2e8adae4ea081b',1,'rd::Selector::Selector(std::vector< routine_t > autons)'],['../group__selector.html',1,'Selector']]], + ['selector_2ehpp_1',['selector.hpp',['../selector_8hpp.html',1,'']]], + ['styles_2eh_2',['styles.h',['../styles_8h.html',1,'']]] ]; diff --git a/search/all_7.js b/search/all_7.js index 4c3de99..69f0e41 100644 --- a/search/all_7.js +++ b/search/all_7.js @@ -1,16 +1,6 @@ var searchData= [ - ['rd_5fanim_5fstate_0',['rd_anim_state',['../group__core.html#gabccfe48c57880d25f21e6db67cfb0277',1,'core.h']]], - ['rd_5fanim_5fstate_5ft_1',['rd_anim_state_t',['../group__core.html#gabf8b58c0e1a80b23109f1e14a9542117',1,'core.h']]], - ['rd_5fview_2',['rd_view',['../structrd__view.html',1,'']]], - ['rd_5fview_5falert_3',['rd_view_alert',['../group__core.html#gadb1c96b770111c3d5d365c12e0dab598',1,'core.h']]], - ['rd_5fview_5fcreate_4',['rd_view_create',['../group__core.html#gad825f912081674f39ae1f8d255f6eb84',1,'core.h']]], - ['rd_5fview_5fdel_5',['rd_view_del',['../group__core.html#ga19bc42fd864f9c14e4710b9ec2dd5631',1,'core.h']]], - ['rd_5fview_5ffocus_6',['rd_view_focus',['../group__core.html#ga06317955ba1241ad37d3fbd50ae75254',1,'core.h']]], - ['rd_5fview_5fget_5fanims_7',['rd_view_get_anims',['../group__core.html#ga75e568ff4d1a621830fed7bba86b21a9',1,'core.h']]], - ['rd_5fview_5fobj_8',['rd_view_obj',['../group__core.html#ga7aa13a1312f4232db533db0e40b1a5f0',1,'core.h']]], - ['rd_5fview_5fset_5fanims_9',['rd_view_set_anims',['../group__core.html#ga20d76c93f6c264a9e585bc98fdea83f5',1,'core.h']]], - ['rd_5fview_5ft_10',['rd_view_t',['../group__core.html#gaac30b45d648de30e2c32b1d8cac99d75',1,'core.h']]], - ['robodash_11',['robodash',['../index.html',1,'']]], - ['run_5fauton_12',['run_auton',['../group__selector.html#ga36c84f580abfccd69640f042a924a4ab',1,'rd::Selector']]] + ['template_0',['Installing the template',['../installing.html#autotoc_md1',1,'']]], + ['the_20template_1',['Installing the template',['../installing.html#autotoc_md1',1,'']]], + ['toolkit_2',['Toolkit',['../usage.html#autotoc_md2',1,'']]] ]; diff --git a/search/all_8.js b/search/all_8.js index 756f4b6..a7dd4df 100644 --- a/search/all_8.js +++ b/search/all_8.js @@ -1,6 +1,5 @@ var searchData= [ - ['selector_0',['selector',['../classrd_1_1Selector.html',1,'rd::Selector'],['../group__selector.html#ga0206ee21bbf67d8a0d2e8adae4ea081b',1,'rd::Selector::Selector()'],['../group__selector.html',1,'Selector']]], - ['selector_2ehpp_1',['selector.hpp',['../selector_8hpp.html',1,'']]], - ['styles_2eh_2',['styles.h',['../styles_8h.html',1,'']]] + ['usage_0',['Usage',['../usage.html',1,'']]], + ['user_20interface_1',['User Interface',['../ui.html',1,'']]] ]; diff --git a/search/all_9.js b/search/all_9.js deleted file mode 100644 index 69f0e41..0000000 --- a/search/all_9.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['template_0',['Installing the template',['../installing.html#autotoc_md1',1,'']]], - ['the_20template_1',['Installing the template',['../installing.html#autotoc_md1',1,'']]], - ['toolkit_2',['Toolkit',['../usage.html#autotoc_md2',1,'']]] -]; diff --git a/search/all_a.js b/search/all_a.js deleted file mode 100644 index a7dd4df..0000000 --- a/search/all_a.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['usage_0',['Usage',['../usage.html',1,'']]], - ['user_20interface_1',['User Interface',['../ui.html',1,'']]] -]; diff --git a/search/classes_2.js b/search/classes_2.js index 49f6912..4b64a53 100644 --- a/search/classes_2.js +++ b/search/classes_2.js @@ -1,4 +1,5 @@ var searchData= [ - ['rd_5fview_0',['rd_view',['../structrd__view.html',1,'']]] + ['rd_5fview_0',['rd_view',['../structrd__view.html',1,'']]], + ['routine_1',['routine',['../structrd_1_1Selector_1_1routine.html',1,'rd::Selector']]] ]; diff --git a/search/functions_5.js b/search/functions_5.js index 71cac80..74c0490 100644 --- a/search/functions_5.js +++ b/search/functions_5.js @@ -1,4 +1,4 @@ var searchData= [ - ['selector_0',['Selector',['../group__selector.html#ga0206ee21bbf67d8a0d2e8adae4ea081b',1,'rd::Selector']]] + ['selector_0',['selector',['../group__selector.html#ga66183732b5637b7519e673ab644fb307',1,'rd::Selector::Selector(std::string name, std::vector< routine_t > autons)'],['../group__selector.html#ga0206ee21bbf67d8a0d2e8adae4ea081b',1,'rd::Selector::Selector(std::vector< routine_t > autons)']]] ]; diff --git a/search/pages_0.js b/search/pages_0.js index 8a2ba60..c6794bb 100644 --- a/search/pages_0.js +++ b/search/pages_0.js @@ -1,4 +1,5 @@ var searchData= [ - ['bug_20list_0',['Bug List',['../bug.html',1,'']]] + ['installation_0',['Installation',['../installing.html',1,'']]], + ['interface_1',['User Interface',['../ui.html',1,'']]] ]; diff --git a/search/pages_1.js b/search/pages_1.js index c6794bb..811c6e6 100644 --- a/search/pages_1.js +++ b/search/pages_1.js @@ -1,5 +1,4 @@ var searchData= [ - ['installation_0',['Installation',['../installing.html',1,'']]], - ['interface_1',['User Interface',['../ui.html',1,'']]] + ['robodash_0',['robodash',['../index.html',1,'']]] ]; diff --git a/search/pages_2.js b/search/pages_2.js index 8497d4a..a7dd4df 100644 --- a/search/pages_2.js +++ b/search/pages_2.js @@ -1,4 +1,5 @@ var searchData= [ - ['list_0',['Bug List',['../bug.html',1,'']]] + ['usage_0',['Usage',['../usage.html',1,'']]], + ['user_20interface_1',['User Interface',['../ui.html',1,'']]] ]; diff --git a/search/pages_3.js b/search/pages_3.js deleted file mode 100644 index 811c6e6..0000000 --- a/search/pages_3.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['robodash_0',['robodash',['../index.html',1,'']]] -]; diff --git a/search/pages_4.js b/search/pages_4.js deleted file mode 100644 index a7dd4df..0000000 --- a/search/pages_4.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['usage_0',['Usage',['../usage.html',1,'']]], - ['user_20interface_1',['User Interface',['../ui.html',1,'']]] -]; diff --git a/search/searchdata.js b/search/searchdata.js index fcb6e26..1f2faa5 100644 --- a/search/searchdata.js +++ b/search/searchdata.js @@ -1,13 +1,13 @@ var indexSectionsWithContent = { - 0: "abcfilprstu", + 0: "acfiprstu", 1: "cirs", 2: "acfis", 3: "cfiprs", 4: "r", 5: "r", 6: "cis", - 7: "bilru" + 7: "iru" }; var indexSectionNames = diff --git a/selector.png b/selector.png index 56c943e..374fcbb 100644 Binary files a/selector.png and b/selector.png differ diff --git a/selector_8hpp.html b/selector_8hpp.html index 529b18e..d7a04f8 100644 --- a/selector_8hpp.html +++ b/selector_8hpp.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    @@ -190,6 +190,8 @@ class  rd::Selector  Selector class. More...
      +struct  rd::Selector::routine

    Detailed Description

    Robodash Selector.

    diff --git a/selector_8hpp_source.html b/selector_8hpp_source.html index b6e7370..3609f03 100644 --- a/selector_8hpp_source.html +++ b/selector_8hpp_source.html @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    @@ -187,31 +187,55 @@
    12
    13namespace rd {
    14
    -
    -
    28class Selector {
    -
    31 private:
    -
    32 rd_view_t *view;
    -
    33
    -
    34 public:
    -
    36 typedef std::function<void()> routine_action_t;
    -
    37 typedef std::pair<std::string, routine_action_t> routine_t;
    -
    38
    -
    40
    -
    46 Selector(std::vector<routine_t> autons);
    -
    47
    -
    51 void run_auton();
    -
    52
    -
    56 void focus();
    -
    57
    -
    59};
    +
    +
    29class Selector {
    +
    32 public:
    +
    34 typedef std::function<void()> routine_action_t;
    +
    35
    +
    +
    36 typedef struct routine {
    +
    37 std::string name;
    +
    38 routine_action_t action;
    +
    39 std::string img = "";
    +
    40 } routine_t;
    -
    60
    -
    61} // namespace rd
    +
    41
    +
    43
    +
    49 Selector(std::string name, std::vector<routine_t> autons);
    +
    50
    +
    55 Selector(std::vector<routine_t> autons);
    +
    56
    +
    60 void run_auton();
    +
    61
    +
    65 void focus();
    +
    66
    +
    68
    +
    69 private:
    +
    70 rd_view_t *view;
    +
    71
    +
    72 lv_obj_t *select_cont;
    +
    73 lv_obj_t *selected_label;
    +
    74 lv_obj_t *selected_img;
    +
    75
    +
    76 std::string name;
    +
    77 std::vector<rd::Selector::routine_t> routines;
    +
    78 rd::Selector::routine_t *selected_routine;
    +
    79
    +
    80 void sd_save();
    +
    81 void sd_load();
    +
    82
    +
    83 static void select_cb(lv_event_t *event);
    +
    84};
    +
    +
    85
    +
    86} // namespace rd
    API entrypoint for robodash.
    -
    Selector class.
    Definition selector.hpp:28
    +
    Selector class.
    Definition selector.hpp:29
    Selector(std::vector< routine_t > autons)
    Create autonomous selector.
    void run_auton()
    Run selected auton.
    +
    Selector(std::string name, std::vector< routine_t > autons)
    Create autonomous selector.
    void focus()
    Set this view to the active view.
    +
    Definition selector.hpp:36
    Robodash view structure.
    Definition core.h:34
    diff --git a/bug.html b/structrd_1_1Selector_1_1routine-members.html similarity index 81% rename from bug.html rename to structrd_1_1Selector_1_1routine-members.html index 537b1de..a8596ea 100644 --- a/bug.html +++ b/structrd_1_1Selector_1_1routine-members.html @@ -6,7 +6,7 @@ - Robodash: Bug List + Robodash: Member List @@ -105,7 +105,7 @@
    Robodash 2.0.0 2.1.0
    A GUI toolkit for PROS 4
    @@ -144,7 +144,7 @@
    @@ -169,16 +169,17 @@
    -
    -
    Bug List
    +
    +
    rd::Selector::routine Member List
    -
    -
    Member rd::Selector::Selector (std::vector< routine_t > autons)
    -
    Multiple selectors cannot be active at the same time.
    -
    -
    -
    + +

    This is the complete list of members for rd::Selector::routine, including all inherited members.

    + + + + +
    action (defined in rd::Selector::routine)rd::Selector::routine
    img (defined in rd::Selector::routine)rd::Selector::routine
    name (defined in rd::Selector::routine)rd::Selector::routine

    Documention for each class is linked on the topics page.

    diff --git a/view_button.png b/view_button.png index bc4075e..4dc9357 100644 Binary files a/view_button.png and b/view_button.png differ diff --git a/view_selector.png b/view_selector.png index c32d2ad..3e1570a 100644 Binary files a/view_selector.png and b/view_selector.png differ