Commits

Anonymous committed fe9d705

CWS-TOOLING: integrate CWS c28v001_DEV300
2009-06-11 09:57:13 +0200 pl r272848 : #160046# make product and welcome text have transparent background to allow for more flexibility of the background bitmap
2009-06-11 09:54:27 +0200 pl r272847 : #160045# add edition search path for images.zip

Comments (0)

Files changed (2)

framework/source/services/backingwindow.cxx

     // clean up resource stack
     FreeResource();
     
+    maWelcome.SetPaintTransparent( TRUE );
+    maProduct.SetPaintTransparent( TRUE );
+    EnableChildTransparentMode();
+    
     SetStyle( GetStyle() | WB_DIALOGCONTROL );
     
     // add some breathing space for the images
     }
 
     maWelcome.SetControlForeground( maWelcomeTextColor );
-    maWelcome.SetControlBackground( aTextBGColor );
+    maWelcome.SetBackground();
     maProduct.SetControlForeground( maWelcomeTextColor );
-    maProduct.SetControlBackground( aTextBGColor );
+    maProduct.SetBackground();
     maCreateText.SetControlForeground( maLabelTextColor );
     maCreateText.SetControlBackground( aTextBGColor );
     maWriterText.SetControlForeground( maLabelTextColor );

vcl/source/gdi/impimagetree.cxx

     m_zips.clear();
     {
         rtl::OUString url(
+            RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/program/edition/images.zip"));
+        rtl::Bootstrap::expandMacros(url);
+        INetURLObject u(url);
+        OSL_ASSERT(!u.HasError());
+        m_zips.push_back(
+            std::make_pair(
+                u.GetMainURL(INetURLObject::NO_DECODE),
+                css::uno::Reference< css::container::XNameAccess >()));
+    }
+    {
+        rtl::OUString url(
             RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/share/config"));
         rtl::Bootstrap::expandMacros(url);
         INetURLObject u(url);
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.