lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [6023] Make grayed icons less ugly (VZ)


From: Greg Chicares
Subject: [lmi-commits] [6023] Make grayed icons less ugly (VZ)
Date: Wed, 05 Nov 2014 22:10:26 +0000

Revision: 6023
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6023
Author:   chicares
Date:     2014-11-05 22:10:26 +0000 (Wed, 05 Nov 2014)
Log Message:
-----------
Make grayed icons less ugly (VZ)

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/fixed-width-16.png
    lmi/trunk/fixed-width.png
    lmi/trunk/icon_monger.cpp
    lmi/trunk/varying-width-16.png
    lmi/trunk/varying-width.png

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2014-11-05 21:47:57 UTC (rev 6022)
+++ lmi/trunk/ChangeLog 2014-11-05 22:10:26 UTC (rev 6023)
@@ -34544,3 +34544,25 @@
 Gray out inapplicable toolbar buttons when no view is open. See:
   http://lists.nongnu.org/archive/html/lmi/2008-09/msg00036.html
 
+20141105T2147Z <address@hidden> [517]
+
+  README
+  group_tutorial.html
+  icon_monger.cpp
+  menu_commands.html
+  menus.xrc
+  print-case-pdf-16.png [new file]
+  print-case-pdf.png    [new file]
+  toolbar.xrc
+Add a new icon, reserving the old for another use.
+
+20141105T2210Z <address@hidden> [517]
+
+  fixed-width-16.png
+  fixed-width.png
+  icon_monger.cpp
+  varying-width-16.png
+  varying-width.png
+Make grayed icons less ugly (VZ). Cf.:
+  http://lists.nongnu.org/archive/html/lmi/2014-10/msg00071.html
+

Modified: lmi/trunk/fixed-width-16.png
===================================================================
(Binary files differ)

Modified: lmi/trunk/fixed-width.png
===================================================================
(Binary files differ)

Modified: lmi/trunk/icon_monger.cpp
===================================================================
--- lmi/trunk/icon_monger.cpp   2014-11-05 21:47:57 UTC (rev 6022)
+++ lmi/trunk/icon_monger.cpp   2014-11-05 22:10:26 UTC (rev 6023)
@@ -223,6 +223,12 @@
         return wxNullBitmap;
         }
 
+    // WX !! Remove this little block when wx does this automatically.
+    if(image.HasMask())
+        {
+        image.InitAlpha();
+        }
+
     if(desired_size != wxSize(image.GetWidth(), image.GetHeight()))
         {
         warning()

Modified: lmi/trunk/varying-width-16.png
===================================================================
(Binary files differ)

Modified: lmi/trunk/varying-width.png
===================================================================
(Binary files differ)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]