Minilook for group of buttons (groupbut and buttons in "target" selector).

This commit is contained in:
David Capello 2010-03-24 17:49:46 -03:00
parent a336900115
commit 4ccb661bbf
2 changed files with 3 additions and 0 deletions

View File

@ -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;
}

View File

@ -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);