olaf neophyte and de.po updates, valgrind tweaks, delete green lady, inkscape dpi=96
[goodguy/history.git] / cinelerra-5.1 / plugins / theme_neophyte / neophyte.C
index 3031fe93d81c5775db39e3a264cf4ae8030a1213..cfb1a541671e9c4c00986e618055b400819a25bb 100644 (file)
@@ -1,7 +1,4 @@
 /*
- * Neophyte theme (2018-08-01)
- * Design: Olaf Wolff <cinmail ยท womentie.de>
- * Based on unflat theme, based on S.U.V. theme.
  *
  * CINELERRA
  * Copyright (C) 1997-2014 Adam Williams <broadcast at earthling dot net>
@@ -103,6 +100,7 @@ NEOPHYTETHEME::~NEOPHYTETHEME()
 
 void NEOPHYTETHEME::initialize()
 {
+       //printf("Neophyte::initialize 1\n");
        BC_Resources *resources = BC_WindowBase::get_resources();
 
        /* Something own, fitting to the theme and independent of
@@ -110,16 +108,18 @@ void NEOPHYTETHEME::initialize()
        // Preferences: About (logo)
        about_bg = new VFramePng(get_image_data("about_bg.png"));
        
-       /* Replacement for the heroine icon, maybe. Everyone has his 
+       /* Replacement for the heroine icon. Everyone has his 
           own ideas about this, especially in connection with the 
           new desktops[tm]. It would be better to solve this globally,
           irrespective of the theme currently in use. */
-       // new_image("mwindow_icon", "cin_icon_mwin.png");
-       // new_image("vwindow_icon", "cin_icon_vwin.png");
-       // new_image("cwindow_icon", "cin_icon_cwin.png");
-       // new_image("awindow_icon", "cin_icon_awin.png");
-       // new_image("record_icon", "cin_icon_rec.png");
-    
+       // /home/olaf/src/cinelerra-gg/cin5/cinelerra-5.1/cinelerra/theme.C-237
+       new_image_set_images("mwindow_icon", 1, new VFramePng(get_image_data("cin_icon_mwin.png")));
+       new_image_set_images("vwindow_icon", 1, new VFramePng(get_image_data("cin_icon_vwin.png")));
+       new_image_set_images("cwindow_icon", 1, new VFramePng(get_image_data("cin_icon_cwin.png")));
+       new_image_set_images("awindow_icon", 1, new VFramePng(get_image_data("cin_icon_awin.png")));
+       new_image_set_images("record_icon",  1, new VFramePng(get_image_data("cin_icon_rec.png")));
+       // Windows without an icon: Camera, Overlays, etc.
+       
        resources->text_default = CreamyWhite;     // general text color
        resources->text_background = BlackNineTwo;
        resources->text_background_disarmed = LockedRed; // arm track locked (!)
@@ -806,7 +806,7 @@ void NEOPHYTETHEME::initialize()
        new_button("channel.png",
                           editpanel_up, editpanel_hi, editpanel_dn,
                           "channel");
-       new_button("lok.png",
+       new_button("lok.png", // popup slider
                           editpanel_up, editpanel_hi, editpanel_dn,
                           "lok");
        new_toggle("histogram_toggle.png",
@@ -974,7 +974,7 @@ void NEOPHYTETHEME::initialize()
                           transport_up, transport_hi, transport_dn,
                           "stoprec");
 
-       // CWindow icons
+       // CWindow icons (led)
        new_image("cwindow_inactive", "cwindow_inactive.png");
        new_image("cwindow_active", "cwindow_active.png");