mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 03:32:48 +00:00
Minilook for group of buttons (groupbut and buttons in "target" selector).
This commit is contained in:
parent
a336900115
commit
4ccb661bbf
@ -837,6 +837,7 @@ JWidget radio_button_new(int radio_group, int b1, int b2, int b3, int b4)
|
|||||||
if (widget) {
|
if (widget) {
|
||||||
jradio_set_group(widget, radio_group);
|
jradio_set_group(widget, radio_group);
|
||||||
jbutton_set_bevel(widget, b1, b2, b3, b4);
|
jbutton_set_bevel(widget, b1, b2, b3, b4);
|
||||||
|
setup_mini_look(widget);
|
||||||
}
|
}
|
||||||
return widget;
|
return widget;
|
||||||
}
|
}
|
||||||
@ -846,6 +847,7 @@ JWidget check_button_new(const char *text, int b1, int b2, int b3, int b4)
|
|||||||
JWidget widget = ji_generic_button_new(text, JI_CHECK, JI_BUTTON);
|
JWidget widget = ji_generic_button_new(text, JI_CHECK, JI_BUTTON);
|
||||||
if (widget) {
|
if (widget) {
|
||||||
jbutton_set_bevel(widget, b1, b2, b3, b4);
|
jbutton_set_bevel(widget, b1, b2, b3, b4);
|
||||||
|
setup_mini_look(widget);
|
||||||
}
|
}
|
||||||
return widget;
|
return widget;
|
||||||
}
|
}
|
||||||
|
@ -103,6 +103,7 @@ JWidget target_button_new(int imgtype, bool with_channels)
|
|||||||
jbutton_set_bevel(images,
|
jbutton_set_bevel(images,
|
||||||
with_channels ? 0: 2,
|
with_channels ? 0: 2,
|
||||||
with_channels ? 0: 2, 2, 2);
|
with_channels ? 0: 2, 2, 2);
|
||||||
|
setup_mini_look(images);
|
||||||
add_gfxicon_to_button(images, get_target_image_gfx(default_targets),
|
add_gfxicon_to_button(images, get_target_image_gfx(default_targets),
|
||||||
JI_CENTER | JI_MIDDLE);
|
JI_CENTER | JI_MIDDLE);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user