Fix a mouse dropping remaining when clicking layer color. Made the button pick current transp color when left-clicking, and set it on right-click.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1201 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-11-15 22:24:12 +00:00
parent 8612aa7303
commit e2f4ed00f1
5 changed files with 25 additions and 5 deletions

2
init.c
View File

@@ -1271,7 +1271,7 @@ void Init_buttons(void)
58,0,
13,9,
BUTTON_SHAPE_RECTANGLE,
Button_Layer_color, Button_Layer_color,
Button_Layer_get_transparent, Button_Layer_set_transparent,
Do_nothing,
FAMILY_INSTANT);
Init_button(BUTTON_LAYER_MERGE,