mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-16 21:34:01 +02:00
Tool menu in deco editor, Lighten/Darken tools.
This commit is contained in:
@@ -60,9 +60,10 @@ static menu_section msections[] = //doshow does not do anything currently.
|
||||
|
||||
static menu_section colorsections[] = //doshow does not do anything currently.
|
||||
{
|
||||
{"\xD1", "Colors", 7, 1},
|
||||
{"\xC5", "Tools", 0, 1},
|
||||
{"\xC4", "Colors", 7, 1},
|
||||
{"\xD7", "Tools", 0, 1},
|
||||
};
|
||||
#define DECO_SECTIONS 2
|
||||
|
||||
static menu_wall colorlist[] =
|
||||
{
|
||||
@@ -75,6 +76,17 @@ static menu_wall colorlist[] =
|
||||
{PIXPACK(0xFFFFFF), "White"},
|
||||
};
|
||||
|
||||
#define DECO_DRAW 0
|
||||
#define DECO_LIGHTEN 1
|
||||
#define DECO_DARKEN 2
|
||||
|
||||
static menu_wall toollist[] =
|
||||
{
|
||||
{PIXPACK(0xFF0000), "Draw"},
|
||||
{PIXPACK(0xDDDDDD), "Lighten"},
|
||||
{PIXPACK(0x111111), "Darken"},
|
||||
};
|
||||
|
||||
struct ui_edit
|
||||
{
|
||||
int x, y, w, nx, h;
|
||||
|
Reference in New Issue
Block a user