summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/eulogium.c12
-rw-r--r--src/eulogium.h1
2 files changed, 12 insertions, 1 deletions
diff --git a/src/eulogium.c b/src/eulogium.c
index 31819fa..72caff8 100644
--- a/src/eulogium.c
+++ b/src/eulogium.c
@@ -593,6 +593,9 @@ Evas_Object *eulogium_multi_screen_menu(struct eulogium_data *eulogium, Evas_Obj
evas_object_show(box);
elm_box_pack_end(_top, box);
break;
+ case FUNC:
+ /* call function pointer from screen_data.func */
+ break;
case END: /* fall through */
default:
break;
@@ -801,12 +804,19 @@ static struct multi_screen screen[] = {
},
{
.type = MATERIAL,
- .text = NULL,
+ .text = "Choose material",
.data = NULL,
.prev_button = "Skip Wizzard!",
.next_button = "Continue",
},
{
+ .type = FUNC,
+ .text = "Level bed",
+ .data = "Bed leveling call",
+ .prev_button = "Skip Wizzard!",
+ .next_button = "Continue",
+ },
+ {
.type = PROGRESS,
.text = "Heating ...",
.data = "progress object",
diff --git a/src/eulogium.h b/src/eulogium.h
index 958504c..66f27d5 100644
--- a/src/eulogium.h
+++ b/src/eulogium.h
@@ -10,6 +10,7 @@ enum screen_type {
NONE,
MATERIAL,
PROGRESS,
+ FUNC,
END,
};