Fix issue 340: Inaccurate cursor position when selecting palette colors. Also improved greatly the picking of color: It's now on mouse down (instead of release), you can drag the mouse to another cell. Dragging won't activate any other buttons, only palette cells.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1453 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -1296,11 +1296,11 @@ void Init_buttons(void)
|
||||
FAMILY_INSTANT);
|
||||
|
||||
Init_button(BUTTON_CHOOSE_COL,
|
||||
MENU_WIDTH+1,2,
|
||||
MENU_WIDTH+1,1,
|
||||
1,32, // La largeur est mise à jour à chq chngmnt de mode
|
||||
BUTTON_SHAPE_NO_FRAME,
|
||||
Button_Select_forecolor,Button_Select_backcolor,
|
||||
0,0,
|
||||
1,1,
|
||||
Do_nothing,
|
||||
FAMILY_INSTANT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user