** Description changed:

  Just like the Unity plug-in in CCSM gives users a chance to change the
  panel opacity, the plug-in should also provide users with a way to
  change the launcher's opacity levels.
+ 
+ ====================================================
+ 
+  * Time to fix: 2h (in hours)
+  * Difficulty: normal
+  * Implementation:
+ 
+      In launcher.cpp the function that takes care of drawing the
+ background is Launcher::DrawContent. Should not be difficult adding a
+ private member to change the alpha of the background and then using this
+ value in DrawContent:
+ 
+   if (_dash_is_open)
+   {
+     gPainter.Paint2DQuadColor(GfxContext, bkg_box, _background_color);
+   }
+   else
+   {
+     gPainter.Paint2DQuadColor(GfxContext, bkg_box, nux::Color(0xAA000000)); 
<<<< AA is the current/default alpha value
+   }
+ 
+  * Where to look: src/launcher.cpp (for the alpha)
+                   src/unityshell.cpp (for the ccsm option)
+ 
+  * Workflow information: http://unity.ubuntu.com/getinvolved/

** Description changed:

  Just like the Unity plug-in in CCSM gives users a chance to change the
  panel opacity, the plug-in should also provide users with a way to
  change the launcher's opacity levels.
  
  ====================================================
  
-  * Time to fix: 2h (in hours)
-  * Difficulty: normal
-  * Implementation:
+  * Time to fix: 2h (in hours)
+  * Difficulty: normal
+  * Implementation:
  
-      In launcher.cpp the function that takes care of drawing the
- background is Launcher::DrawContent. Should not be difficult adding a
- private member to change the alpha of the background and then using this
- value in DrawContent:
+ In launcher.cpp the function that takes care of drawing the background
+ is Launcher::DrawContent. Should not be difficult adding a private
+ member to change the alpha of the background and then using this value
+ in DrawContent:
  
-   if (_dash_is_open)
-   {
-     gPainter.Paint2DQuadColor(GfxContext, bkg_box, _background_color);
-   }
-   else
-   {
-     gPainter.Paint2DQuadColor(GfxContext, bkg_box, nux::Color(0xAA000000)); 
<<<< AA is the current/default alpha value
-   }
+   if (_dash_is_open)
+   {
+     gPainter.Paint2DQuadColor(GfxContext, bkg_box, _background_color);
+   }
+   else
+   {
+     /* AA is the current/default alpha value */
+     gPainter.Paint2DQuadColor(GfxContext, bkg_box, nux::Color(0xAA000000));
+   }
  
-  * Where to look: src/launcher.cpp (for the alpha)
-                   src/unityshell.cpp (for the ccsm option)
+  * Where to look: src/launcher.cpp (for the alpha)
+                   src/unityshell.cpp (for the ccsm option)
  
-  * Workflow information: http://unity.ubuntu.com/getinvolved/
+  * Workflow information: http://unity.ubuntu.com/getinvolved/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/815032

Title:
  ccsm needs an option to change launcher opacity

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/815032/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to