From 4ccb661bbff79680d48505ae3b1813a775df7869 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 24 Mar 2010 17:49:46 -0300 Subject: [PATCH] Minilook for group of buttons (groupbut and buttons in "target" selector). --- src/modules/gui.cpp | 2 ++ src/widgets/target.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/src/modules/gui.cpp b/src/modules/gui.cpp index 4ff225701..abf395a15 100644 --- a/src/modules/gui.cpp +++ b/src/modules/gui.cpp @@ -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; } diff --git a/src/widgets/target.cpp b/src/widgets/target.cpp index ae124c113..bf992cfd9 100644 --- a/src/widgets/target.cpp +++ b/src/widgets/target.cpp @@ -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);