mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-16 04:13:50 +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) {
|
||||
jradio_set_group(widget, radio_group);
|
||||
jbutton_set_bevel(widget, b1, b2, b3, b4);
|
||||
setup_mini_look(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);
|
||||
if (widget) {
|
||||
jbutton_set_bevel(widget, b1, b2, b3, b4);
|
||||
setup_mini_look(widget);
|
||||
}
|
||||
return widget;
|
||||
}
|
||||
|
@ -103,6 +103,7 @@ JWidget target_button_new(int imgtype, bool with_channels)
|
||||
jbutton_set_bevel(images,
|
||||
with_channels ? 0: 2,
|
||||
with_channels ? 0: 2, 2, 2);
|
||||
setup_mini_look(images);
|
||||
add_gfxicon_to_button(images, get_target_image_gfx(default_targets),
|
||||
JI_CENTER | JI_MIDDLE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user