Add shade and unshade buttons

This commit is contained in:
Satyajit Sahoo
2013-08-08 10:27:28 +05:30
parent 6821ac4b34
commit 87f0e146ca
43 changed files with 212 additions and 21 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 371 B

After

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 370 B

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 B

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 B

After

Width:  |  Height:  |  Size: 182 B

+8
View File
@@ -304,15 +304,19 @@
<!-- shade icon --> <!-- shade icon -->
<draw_ops name="shade_focused"> <draw_ops name="shade_focused">
<image filename="shade_focused_normal.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="shade_focused_prelight"> <draw_ops name="shade_focused_prelight">
<image filename="shade_focused_prelight.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="shade_focused_pressed"> <draw_ops name="shade_focused_pressed">
<image filename="shade_focused_pressed.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="shade_unfocused"> <draw_ops name="shade_unfocused">
<image filename="shade_unfocused.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="shade_unfocused_prelight"> <draw_ops name="shade_unfocused_prelight">
@@ -325,15 +329,19 @@
<!-- unshade icon --> <!-- unshade icon -->
<draw_ops name="unshade_focused"> <draw_ops name="unshade_focused">
<image filename="unshade_focused_normal.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="unshade_focused_prelight"> <draw_ops name="unshade_focused_prelight">
<image filename="unshade_focused_prelight.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="unshade_focused_pressed"> <draw_ops name="unshade_focused_pressed">
<image filename="unshade_focused_pressed.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="unshade_unfocused"> <draw_ops name="unshade_unfocused">
<image filename="unshade_unfocused.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="unshade_unfocused_prelight"> <draw_ops name="unshade_unfocused_prelight">
+8
View File
@@ -316,15 +316,19 @@
<!-- shade icon --> <!-- shade icon -->
<draw_ops name="shade_focused"> <draw_ops name="shade_focused">
<image filename="shade_focused_normal.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="shade_focused_prelight"> <draw_ops name="shade_focused_prelight">
<image filename="shade_focused_prelight.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="shade_focused_pressed"> <draw_ops name="shade_focused_pressed">
<image filename="shade_focused_pressed.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="shade_unfocused"> <draw_ops name="shade_unfocused">
<image filename="shade_unfocused.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="shade_unfocused_prelight"> <draw_ops name="shade_unfocused_prelight">
@@ -337,15 +341,19 @@
<!-- unshade icon --> <!-- unshade icon -->
<draw_ops name="unshade_focused"> <draw_ops name="unshade_focused">
<image filename="unshade_focused_normal.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="unshade_focused_prelight"> <draw_ops name="unshade_focused_prelight">
<image filename="unshade_focused_prelight.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="unshade_focused_pressed"> <draw_ops name="unshade_focused_pressed">
<image filename="unshade_focused_pressed.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="unshade_unfocused"> <draw_ops name="unshade_unfocused">
<image filename="unshade_unfocused.png" x="0" y="1" width="object_width" height="object_height" />
</draw_ops> </draw_ops>
<draw_ops name="unshade_unfocused_prelight"> <draw_ops name="unshade_unfocused_prelight">
Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 B

After

Width:  |  Height:  |  Size: 181 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 B

After

Width:  |  Height:  |  Size: 181 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

+1 -1
View File
@@ -1,4 +1,4 @@
#define shade_width 8 #define shade_width 8
#define shade_height 8 #define shade_height 8
static unsigned char shade_bits[] = { static unsigned char shade_bits[] = {
0x18, 0x3c, 0x7e, 0xff, 0x18, 0x18, 0x18, 0x18 }; 0x18, 0x3c, 0x7e, 0xff, 0xdb, 0x18, 0x18, 0x18 };
+1 -1
View File
@@ -1,4 +1,4 @@
#define shade_toggled_width 8 #define shade_toggled_width 8
#define shade_toggled_height 8 #define shade_toggled_height 8
static unsigned char shade_toggled_bits[] = { static unsigned char shade_toggled_bits[] = {
0x18, 0x18, 0x18, 0x18, 0xff, 0x7e, 0x3c, 0x18 }; 0x18, 0x18, 0x18, 0xdb, 0xff, 0x7e, 0x3c, 0x18 };

Some files were not shown because too many files have changed in this diff Show More