help and buttons

This commit is contained in:
Daniel Napora 2022-06-04 14:43:00 +02:00
parent 90b2531417
commit aaec2b5f3c
46 changed files with 162 additions and 13 deletions

View File

@ -40,54 +40,54 @@
</p> </p>
<h3>Gradients</h3> <h3>Gradients</h3>
Openbox title bar can use various types of gradients... Openbox title bar can use various types of gradients...
<table class="w3-table-all w3-centered w3-grey w3-tiny"> <table class="w3-table w3-bordered w3-grey w3-small">
<tr> <tr class="w3-teal">
<th>Gradient type</th> <th>Gradient type</th>
<th>Image (click to see in action)</th> <th>Image (click to see in action)</th>
</tr> </tr>
<tr> <tr>
<td>Solid color (no gradient)</td> <td>Solid color (no gradient)</td>
<td><a href="run://obtctl gradient solid">[Image here]</a></td> <td><a href="run://obtctl gradient solid"><img src="./img/solid.png"></a></td>
</tr> </tr>
<tr> <tr>
<td>Vertical</td> <td>Vertical</td>
<td><a href="run://obtctl gradient vertical">[Image here]</a></td> <td><a href="run://obtctl gradient vertical"><img src="./img/vertical.png"></a></td>
</tr> </tr>
<tr> <tr>
<td>Horizontal</td> <td>Horizontal</td>
<td><a href="run://obtctl gradient horizontal">[Image here]</a></td> <td><a href="run://obtctl gradient horizontal"><img src="./img/horizontal.png"></a></td>
</tr> </tr>
<tr> <tr>
<td>MirrorHorizontal</td> <td>MirrorHorizontal</td>
<td><a href="run://obtctl gradient mirrorhorizontal">[Image here]</a></td> <td><a href="run://obtctl gradient mirrorhorizontal"><img src="./img/mirrorhorizontal.png"></a></td>
</tr> </tr>
<tr> <tr>
<td>SplitVertical</td> <td>SplitVertical</td>
<td><a href="run://obtctl gradient splitvertical">[Image here]</a></td> <td><a href="run://obtctl gradient splitvertical"><img src="./img/splitvertical.png"></a></td>
</tr> </tr>
<tr> <tr>
<td>Diagonal</td> <td>Diagonal</td>
<td><a href="run://obtctl gradient diagonal">[Image here]</a></td> <td><a href="run://obtctl gradient diagonal"><img src="./img/diagonal.png"></a></td>
</tr> </tr>
<tr> <tr>
<td>CrossDiagonal</td> <td>CrossDiagonal</td>
<td><a href="run://obtctl gradient crossdiagonal">[Image here]</a></td> <td><a href="run://obtctl gradient crossdiagonal"><img src="./img/crossdiagonal.png"></a></td>
</tr> </tr>
<tr> <tr>
<td>Pyramid</td> <td>Pyramid</td>
<td><a href="run://obtctl gradient pyramid">[Image here]</a></td> <td><a href="run://obtctl gradient pyramid"><img src="./img/pyramid.png"></a></td>
</tr> </tr>
</table> </table>
<h3>Raised or flat?</h3> <h3>Raised or flat?</h3>
<table class="w3-table-all w3-centered w3-grey w3-tiny"> <table class="w3-table w3-bordered w3-grey w3-small">
<tr> <tr>
<td>Raised</td> <td>Raised</td>
<td><a href="run://obtctl raised 1">[Image here]</a></td> <td><a href="run://obtctl raised 1"><img src="./img/raised.png"></a></td>
</tr> </tr>
<tr> <tr>
<td>Flat</td> <td>Flat</td>
<td><a href="run://obtctl raised 0">[Image here]</a></td> <td><a href="run://obtctl raised 0"><img src="./img/flat.png"></a></td>
</tr> </tr>
</table> </table>
</section> </section>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -0,0 +1,4 @@
#define close_width 8
#define close_height 8
static unsigned char close_bits[] = {
0xc3, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e, 0xe7, 0xc3 };

View File

@ -0,0 +1,4 @@
#define desk_toggled_width 8
#define desk_toggled_height 8
static unsigned char desk_toggled_bits[] = {
0xe7, 0xe7, 0xe7, 0x00, 0x00, 0xe7, 0xe7, 0xe7 };

View File

@ -0,0 +1,4 @@
#define desk_width 8
#define desk_height 8
static unsigned char desk_bits[] = {
0x04, 0x0e, 0x3f, 0x1e, 0x1c, 0x24, 0x40, 0x80 };

View File

@ -0,0 +1,4 @@
#define iconify_width 8
#define iconify_height 8
static unsigned char iconify_bits[] = {
0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00 };

View File

@ -0,0 +1,4 @@
#define titlebutton_max_2_width 8
#define titlebutton_max_2_height 8
static unsigned char titlebutton_max_2_bits[] = {
0xf8, 0xf0, 0xe0, 0xc1, 0x83, 0x07, 0x0f, 0x1f };

View File

@ -0,0 +1,4 @@
#define titlebutton_max_2_width 8
#define titlebutton_max_2_height 8
static unsigned char titlebutton_max_2_bits[] = {
0xf8, 0xf0, 0xe0, 0xc1, 0x83, 0x07, 0x0f, 0x1f };

View File

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

View File

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

View File

@ -0,0 +1,5 @@
#define bullet_width 10
#define bullet_height 10
static unsigned char bullet_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x0c, 0x00, 0xc0, 0x00, 0xc0, 0x00,
0x0c, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00 };

View File

@ -0,0 +1,5 @@
#define close_width 10
#define close_height 10
static unsigned char close_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x30, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };

View File

@ -0,0 +1,5 @@
#define desk_width 10
#define desk_height 10
static unsigned char desk_bits[] = {
0x00, 0x00, 0x00, 0x00, 0xcc, 0x00, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00,
0xcc, 0x00, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00 };

View File

@ -0,0 +1,5 @@
#define desk_toggled_width 10
#define desk_toggled_height 10
static unsigned char desk_toggled_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };

View File

@ -0,0 +1,5 @@
#define max_toggled_width 10
#define max_toggled_height 10
static unsigned char max_toggled_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xcc, 0x00, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00 };

View File

@ -0,0 +1,5 @@
#define max_width 10
#define max_height 10
static unsigned char max_bits[] = {
0x00, 0x00, 0x00, 0x00, 0xcc, 0x00, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00,
0xcc, 0x00, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00 };

View File

@ -0,0 +1,5 @@
#define max_toggled_width 10
#define max_toggled_height 10
static unsigned char max_toggled_bits[] = {
0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00,
0xcc, 0x00, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00 };

View File

@ -0,0 +1,5 @@
#define shade_width 10
#define shade_height 10
static unsigned char shade_bits[] = {
0x00, 0x00, 0x00, 0x00, 0xcc, 0x00, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };

View File

@ -0,0 +1,5 @@
#define shade_toggled_width 10
#define shade_toggled_height 10
static unsigned char shade_toggled_bits[] = {
0x00, 0x00, 0x00, 0x00, 0xcc, 0x00, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00,
0xcc, 0x00, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00 };

View File

@ -0,0 +1,4 @@
#define bullet_width 4
#define bullet_height 7
static unsigned char bullet_bits[] = {
0x01, 0x03, 0x07, 0x0f, 0x07, 0x03, 0x01 };

View File

@ -0,0 +1,4 @@
#define close_width 6
#define close_height 6
static unsigned char close_bits[] = {
0x33, 0x3f, 0x1e, 0x1e, 0x3f, 0x33 };

View File

@ -0,0 +1,4 @@
#define desk_width 6
#define desk_height 6
static unsigned char desk_bits[] = {
0x33, 0x33, 0x00, 0x00, 0x33, 0x33 };

View File

@ -0,0 +1,4 @@
#define desk_toggle_width 6
#define desk_toggle_height 6
static unsigned char desk_toggle_bits[] = {
0x00, 0x1e, 0x1a, 0x16, 0x1e, 0x00 };

View File

@ -0,0 +1,4 @@
#define iconify_width 6
#define iconify_height 6
static unsigned char iconify_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f };

View File

@ -0,0 +1,4 @@
#define max_width 6
#define max_height 6
static unsigned char max_bits[] = {
0x3f, 0x3f, 0x21, 0x21, 0x21, 0x3f };

View File

@ -0,0 +1,4 @@
#define max_width 6
#define max_height 6
static unsigned char max_bits[] = {
0x3e, 0x22, 0x2f, 0x29, 0x39, 0x0f };

View File

@ -0,0 +1,4 @@
#define iconify_width 6
#define iconify_height 6
static unsigned char iconify_bits[] = {
0x3f, 0x3f, 0x00, 0x00, 0x00, 0x00 };

View File

@ -0,0 +1,4 @@
#define iconify_width 6
#define iconify_height 6
static unsigned char iconify_bits[] = {
0x3f, 0x3f, 0x00, 0x00, 0x00, 0x00 };

View File

@ -0,0 +1,4 @@
#define bullet_width 8
#define bullet_height 8
static unsigned char bullet_bits[] = {
0x00, 0x08, 0x10, 0x20, 0x20, 0x10, 0x08, 0x00 };

View File

@ -0,0 +1,4 @@
#define close_width 8
#define close_height 8
static unsigned char close_bits[] = {
0x81, 0x42, 0x24, 0x18, 0x18, 0x24, 0x42, 0x81 };

View File

@ -0,0 +1,4 @@
#define desk_width 8
#define desk_height 8
static unsigned char desk_bits[] = {
0x18, 0x24, 0x42, 0x81, 0x81, 0x42, 0x24, 0x18 };

View File

@ -0,0 +1,4 @@
#define desk_toggled_width 8
#define desk_toggled_height 8
static unsigned char desk_toggled_bits[] = {
0x18, 0x3c, 0x7e, 0xff, 0xff, 0x7e, 0x3c, 0x18 };

View File

@ -0,0 +1,4 @@
#define iconify_width 8
#define iconify_height 8
static unsigned char iconify_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff };

View File

@ -0,0 +1,4 @@
#define max_width 8
#define max_height 8
static unsigned char max_bits[] = {
0xff, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xff };

View File

@ -0,0 +1,4 @@
#define max_toggled_width 8
#define max_toggled_height 8
static unsigned char max_toggled_bits[] = {
0xfc, 0x80, 0xbf, 0xa1, 0xa1, 0xa1, 0x21, 0x3f };

View File

@ -0,0 +1,4 @@
#define shade_width 8
#define shade_height 8
static unsigned char shade_bits[] = {
0x18, 0x24, 0x42, 0x81, 0x00, 0x00, 0x00, 0x00 };

View File

@ -0,0 +1,4 @@
#define shade_toggled_width 8
#define shade_toggled_height 8
static unsigned char shade_toggled_bits[] = {
0x81, 0x42, 0x24, 0x18, 0x00, 0x00, 0x00, 0x00 };