[PC-BSD Commits] r17985 - in pcbsd-projects/PCDM: . images

svn at pcbsd.org svn at pcbsd.org
Sun Jul 29 16:46:48 PDT 2012


Author: kenmoore
Date: 2012-07-29 23:46:48 +0000 (Sun, 29 Jul 2012)
New Revision: 17985

Modified:
   pcbsd-projects/PCDM/images/banner.png
   pcbsd-projects/PCDM/pcdm-themes.cpp
Log:
Add some nicer default for PCDM (start making it prettier)



Modified: pcbsd-projects/PCDM/images/banner.png
===================================================================
(Binary files differ)

Modified: pcbsd-projects/PCDM/pcdm-themes.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-themes.cpp	2012-07-29 09:19:01 UTC (rev 17984)
+++ pcbsd-projects/PCDM/pcdm-themes.cpp	2012-07-29 23:46:48 UTC (rev 17985)
@@ -23,12 +23,12 @@
   if( (vars=="all") || (vars=="images") ){
     //Default Images and Sizes 
     images.clear(); imSizes.clear();
-    images <<":images/banner.png"; 		imSizes << "";		// [0]=Header
+    images <<":images/banner.png"; 		imSizes << "600x200";	// [0]=Header
     images <<":images/backgroundimage.jpg"; 	imSizes << "";		// [1]=Background
     images <<":images/splash.png";		imSizes << "";		// [2]=Splash Screen
-    images <<":images/user.png";		imSizes << "32x32";	// [3]=User
+    images <<":images/user.png";		imSizes << "64x64";	// [3]=User
     images <<":images/password.png";		imSizes << "32x32";	// [4]=Password
-    images <<":images/next.png";		imSizes << "15x15";	// [5]=Login
+    images <<":images/next.png";		imSizes << "20x20";	// [5]=Login
     images <<":images/keyboard.png";		imSizes << "32x32";	// [6]=Keyboard Layout
     images <<":images/language.png";		imSizes << "32x32";	// [7]=Locale
     images <<":images/system.png";		imSizes << "32x32";	// [8]=System
@@ -39,22 +39,22 @@
     gridWidth=5; gridHeight=6;
     //Default Layout for the application (row x column)
     imLayout.clear(); 		gridLayout.clear();
-    imLayout << "icononly";	gridLayout << "0x0-2";	// [0]=Header
+    imLayout << "icononly";	gridLayout << "0x0";	// [0]=Header
     imLayout << "icononly";	gridLayout << "";	// [1]=Background
     imLayout << "icononly";	gridLayout << "";	// [2]=Splash Screen
-    imLayout << "left";		gridLayout << "2x1";	// [3]=User
-    imLayout << "left";		gridLayout << "3x1";	// [4]=Password
-    imLayout << "left";		gridLayout << "4x1";	// [5]=Login
+    imLayout << "left";		gridLayout << "2x0";	// [3]=User
+    imLayout << "left";		gridLayout << "3x0";	// [4]=Password
+    imLayout << "left";		gridLayout << "4x0";	// [5]=Login
     imLayout << "icononly";	gridLayout << "";	// [6]=Keyboard Layout
     imLayout << "icononly";	gridLayout << "";	// [7]=Locale
     imLayout << "icononly";	gridLayout << "";	// [8]=System
-    imLayout << "horizontal";		gridLayout << "6x1";	// [9]=Desktop
+    imLayout << "horizontal";	gridLayout << "6x0";	// [9]=Desktop
     imLayout << "icononly";	gridLayout << "";	// [10]=Virtual Keyboard
     spacers.clear();
-    spacers << "vertical::1::1"; 	//vertical spacer at row 1, column 1
-    spacers << "vertical::5::1"; 	//vertical spacer at row 5, column 1
-    spacers << "horizontal::0::0";	//horizontal spacer at row 2, column 0
-    spacers << "horizontal::0::2";	//horizontal spacer at row 2, column 2
+    spacers << "vertical::1::0"; 	//vertical spacer at row 1, column 1
+    spacers << "vertical::5::0"; 	//vertical spacer at row 5, column 1
+    //spacers << "horizontal::0::0";	//horizontal spacer at row 2, column 0
+    //spacers << "horizontal::0::2";	//horizontal spacer at row 2, column 2
 
   }
   if( (vars=="all") || (vars=="stylesheet") ){
@@ -62,8 +62,8 @@
     objStyleSheet << "";	// [0]=Header
     objStyleSheet << "";	// [1]=Background
     objStyleSheet << "";	// [2]=Splash Screen
-    objStyleSheet << "";	// [3]=User
-    objStyleSheet << "";	// [4]=Password
+    objStyleSheet << "font-size: 24px";	// [3]=User
+    objStyleSheet << "font-size: 18px";	// [4]=Password
     objStyleSheet << "";	// [5]=Login
     objStyleSheet << "";	// [6]=Keyboard Layout (not used - toolbar style)
     objStyleSheet << "";	// [7]=Locale (not used - toolbar style)



More information about the Commits mailing list