improve to_json(StyleP)

This commit is contained in:
GenevensiS
2026-01-17 07:55:34 +01:00
parent a741a4d26d
commit 28d5993fe6
13 changed files with 637 additions and 150 deletions
+6 -1
View File
@@ -111,7 +111,10 @@ enum ChoicePopupStyle
{ POPUP_MENU
, POPUP_DROPDOWN
, POPUP_DROPDOWN_IN_PLACE
};
};
String popup_style_to_string(const ChoicePopupStyle&);
// How should a choice value be rendered?
enum ChoiceRenderStyle
{ RENDER_TEXT = 0x01 // render the name as text
@@ -129,6 +132,8 @@ enum ChoiceRenderStyle
, RENDER_BOTH_LIST = RENDER_LIST | RENDER_BOTH
};
String render_style_to_string(const ChoiceRenderStyle&);
enum ThumbnailStatus
{ THUMB_NOT_MADE // there is no image
, THUMB_OK // image is ok