theme color fixes
authorDana Jansens <danakj@orodu.net>
Tue, 3 Jun 2003 17:53:19 +0000 (17:53 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 3 Jun 2003 17:53:19 +0000 (17:53 +0000)
render2/theme.c

index 72c836af0bd877d8f0a9c6b27d047723166fc8c1..52583f3aa6b44374a368567ba339ea2fa9aa0663 100644 (file)
@@ -140,12 +140,12 @@ struct RrTheme *RrThemeLoad(struct RrInstance *inst, const char *name)
 
     RrColorSet(&pri, 0.70, 0.70, 0.68, 1);
     RrColorSet(&sec, 0.75, 0.73, 0.71, 1);
-    RrColorSet(&bor, 0, 0, 0, 1);
+    RrColorSet(&bor, 0.42, 0.41, 0.42, 1);
     RrPlanarSet(theme->label, RR_PLANAR_VERTICAL, RR_BEVEL_NONE,
                 &pri, &sec, 1, &bor);
     RrColorSet(&pri, 0.30, 0.34, 0.65, 1);
     RrColorSet(&sec, 0.35, 0.43, 0.75, 1);
-    RrColorSet(&bor, 0.42, 0.41, 0.42, 1);
+    RrColorSet(&bor, 0, 0, 0, 1);
     RrPlanarSet(theme->label_f, RR_PLANAR_SOLID, RR_BEVEL_NONE,
                 &pri, &sec, 1, &bor);
 
@@ -208,14 +208,14 @@ struct RrTheme *RrThemeLoad(struct RrInstance *inst, const char *name)
     theme->app_label = RrSurfaceNewProto(RR_SURFACE_PLANAR, 1);
     theme->app_label_h = RrSurfaceNewProto(RR_SURFACE_PLANAR, 1);
 
-    RrColorSet(&pri, 0.30, 0.34, 0.65, 1);
-    RrColorSet(&sec, 0.35, 0.43, 0.75, 1);
-    RrColorSet(&bor, 0, 0, 0, 1);
-    RrPlanarSet(theme->app_label, RR_PLANAR_VERTICAL, RR_BEVEL_NONE,
-                &pri, &sec, 1, &bor);
     RrColorSet(&pri, 0.70, 0.70, 0.68, 1);
     RrColorSet(&sec, 0.75, 0.73, 0.71, 1);
     RrColorSet(&bor, 0.42, 0.41, 0.42, 1);
+    RrPlanarSet(theme->app_label, RR_PLANAR_VERTICAL, RR_BEVEL_NONE,
+                &pri, &sec, 1, &bor); 
+    RrColorSet(&pri, 0.30, 0.34, 0.65, 1);
+    RrColorSet(&sec, 0.35, 0.43, 0.75, 1);
+    RrColorSet(&bor, 0, 0, 0, 1);
     RrPlanarSet(theme->app_label_h, RR_PLANAR_SOLID, RR_BEVEL_NONE,
                 &pri, &sec, 1, &bor);