|
@@ -578,22 +578,25 @@ void laui_DefaultMenuBarActual(laUiList *uil, laPropPack *pp, laPropPack *actins
|
|
|
laShowItemFull(uil,c,0,"LA_switch_layout", 0, "icon=🡰;reverse=true;", 0, 0)->Flags|=LA_UI_FLAGS_ICON;
|
|
|
laShowItemFull(uil,c,0,"LA_switch_layout", 0, "icon=🡲;", 0,0)->Flags|=LA_UI_FLAGS_ICON;
|
|
|
laShowItem(uil, c, 0, "la.windows.layouts.identifier");
|
|
|
+#ifndef LAGUI_ANDROID
|
|
|
laShowItem(uil,c,0,"LA_new_window")->Flags|=LA_UI_FLAGS_ICON;
|
|
|
+#endif
|
|
|
}laEndCondition(uil, ui);
|
|
|
}laEndCondition(uil,mui);
|
|
|
|
|
|
laUiItem* uc=laOnConditionThat(uil,c,laPropExpression(0,"la.user_preferences.enable_color_management"));{
|
|
|
#ifdef LAGUI_ANDROID
|
|
|
laEndRow(uil,mbb); mbb=laBeginRow(uil,c,0,0);
|
|
|
+ laShowItem(uil,c,0,"la.windows.output_color_space");
|
|
|
#else
|
|
|
laShowSeparator(uil,c);
|
|
|
-#endif
|
|
|
laShowItemFull(uil,c,0,"la.user_preferences.auto_switch_color_space",0,"icon=A",0,0)->Flags|=LA_UI_FLAGS_ICON|LA_UI_FLAGS_CYCLE|LA_UI_FLAGS_HIGHLIGHT|LA_UI_FLAGS_NO_CONFIRM;
|
|
|
laUiItem* uc1=laOnConditionThat(uil,c,laPropExpression(0,"la.user_preferences.auto_switch_color_space"));{
|
|
|
laShowItem(uil,c,0,"la.windows.output_color_space")->Flags|=LA_UI_FLAGS_PLAIN;
|
|
|
}laElse(uil,uc1);{
|
|
|
laShowItem(uil,c,0,"la.windows.output_color_space");
|
|
|
}laEndCondition(uil, uc1);
|
|
|
+#endif
|
|
|
laShowItemFull(uil,c,0,"la.windows.output_show_overflow",0,"text=🟩;",0,0)->Flags|=LA_UI_FLAGS_NO_CONFIRM;
|
|
|
laShowItemFull(uil,c,0,"la.windows.output_proofing",0,0,0,0)->Flags|=LA_UI_FLAGS_CYCLE|LA_UI_FLAGS_ICON|LA_UI_FLAGS_HIGHLIGHT|LA_UI_FLAGS_NO_CONFIRM;
|
|
|
laShowItemFull(uil,c,0,"la.windows.use_composing",0,"text=☀",0,0)->Flags|=LA_UI_FLAGS_NO_CONFIRM;
|
|
@@ -1307,7 +1310,22 @@ void laui_UserPreference(laUiList *uil, laPropPack *Base, laPropPack *OperatorIn
|
|
|
mcl = laLeftColumn(mc, 0);
|
|
|
mcr = laRightColumn(mc, 0);
|
|
|
|
|
|
- if(MAIN.PreferencePageDisplay){ MAIN.PreferencePageDisplay(muil,0,0,0,0); }
|
|
|
+ if(MAIN.PreferencePageDisplay){
|
|
|
+ MAIN.PreferencePageDisplay(muil,0,0,0,0);
|
|
|
+ laShowSeparator(muil, mc);
|
|
|
+ }
|
|
|
+
|
|
|
+ laShowLabel(muil, mc, "Translation:", 0, 0);
|
|
|
+ laShowLabel(muil, mcl, "Enable Translation:", 0, 0);
|
|
|
+ laShowItemFull(muil, mcr, &UP->PP, "enable_translation",LA_WIDGET_ENUM_CYCLE,0,0,0);
|
|
|
+ b = laOnConditionThat(muil, mcl, laPropExpression(&UP->PP, "enable_translation"));{
|
|
|
+ laShowLabel(muil, mcl, "Language:", 0, 0);
|
|
|
+ laShowItemFull(muil, mcr, &UP->PP, "languages", LA_WIDGET_COLLECTION_SELECTOR, 0, 0, 0);
|
|
|
+ laShowItem(muil, mcl, 0, "LA_translation_dump");
|
|
|
+ }
|
|
|
+ laEndCondition(muil, b);
|
|
|
+
|
|
|
+ laShowSeparator(muil, mc);
|
|
|
|
|
|
laShowLabel(muil, mc, "Interface:", 0, 0);
|
|
|
laShowLabel(muil, mcl, "Row Height:", 0, 0);
|
|
@@ -1327,6 +1345,7 @@ void laui_UserPreference(laUiList *uil, laPropPack *Base, laPropPack *OperatorIn
|
|
|
laShowItem(muil, mcl, &UP->PP, "color_picker_gamma");
|
|
|
laShowItem(muil, mcr, &UP->PP, "enable_color_management");
|
|
|
|
|
|
+#ifndef LAGUI_ANDROID
|
|
|
laUiItem* bb=laOnConditionThat(muil,mc,laPropExpression(&UP->PP,"enable_color_management"));{
|
|
|
laUiItem*bbr=laBeginRow(muil,mc,0,0);
|
|
|
laShowLabel(muil, mcl, "Per screen config:", 0, 0)->Expand=1;
|
|
@@ -1335,6 +1354,7 @@ void laui_UserPreference(laUiList *uil, laPropPack *Base, laPropPack *OperatorIn
|
|
|
laEndRow(muil,bbr);
|
|
|
laShowItemFull(muil, mc, &UP->PP, "screens",0,0,laui_Screen,0);
|
|
|
}laEndCondition(muil,bb);
|
|
|
+#endif
|
|
|
|
|
|
laShowSeparator(muil, mc);
|
|
|
|
|
@@ -1354,18 +1374,6 @@ void laui_UserPreference(laUiList *uil, laPropPack *Base, laPropPack *OperatorIn
|
|
|
laShowLabel(muil, mc, "Floating Panel:", 0, 0);
|
|
|
laShowItem(muil, mcl, &UP->PP, "floating_alpha");
|
|
|
laShowItem(muil, mcr, &UP->PP, "solid_shadow_length");
|
|
|
-
|
|
|
- laShowSeparator(muil, mc);
|
|
|
-
|
|
|
- laShowLabel(muil, mc, "Translation:", 0, 0);
|
|
|
- laShowLabel(muil, mcl, "Enable Translation:", 0, 0);
|
|
|
- laShowItemFull(muil, mcr, &UP->PP, "enable_translation",LA_WIDGET_ENUM_CYCLE,0,0,0);
|
|
|
- b = laOnConditionThat(muil, mcl, laPropExpression(&UP->PP, "enable_translation"));{
|
|
|
- laShowLabel(muil, mcl, "Language:", 0, 0);
|
|
|
- laShowItemFull(muil, mcr, &UP->PP, "languages", LA_WIDGET_COLLECTION_SELECTOR, 0, 0, 0);
|
|
|
- laShowItem(muil, mcl, 0, "LA_translation_dump");
|
|
|
- }
|
|
|
- laEndCondition(muil, b);
|
|
|
}
|
|
|
|
|
|
muil = laAddTabPage(bracket, "Input");{
|