From b1fa72b5852df591bf62676ea383ff141795a63f Mon Sep 17 00:00:00 2001 From: David Capello Date: Sun, 6 Jan 2013 14:54:19 -0300 Subject: [PATCH] Remove SkinTheme::less_bevel() --- src/skin/skin_theme.cpp | 8 -------- src/skin/skin_theme.h | 1 - 2 files changed, 9 deletions(-) diff --git a/src/skin/skin_theme.cpp b/src/skin/skin_theme.cpp index c55e410e6..43fe2bdad 100644 --- a/src/skin/skin_theme.cpp +++ b/src/skin/skin_theme.cpp @@ -2159,14 +2159,6 @@ void SkinTheme::drawProgressBar(BITMAP* bmp, int x1, int y1, int x2, int y2, flo ui::to_system(getColor(ThemeColor::Background))); } -void SkinTheme::less_bevel(int *bevel) -{ - if (bevel[0] > 0) --bevel[0]; - if (bevel[1] > 0) --bevel[1]; - if (bevel[2] > 0) --bevel[2]; - if (bevel[3] > 0) --bevel[3]; -} - void SkinTheme::paintIcon(Widget* widget, Graphics* g, IButtonIcon* iconInterface, int x, int y) { BITMAP* icon_bmp = NULL; diff --git a/src/skin/skin_theme.h b/src/skin/skin_theme.h index cb871938b..fc84124b6 100644 --- a/src/skin/skin_theme.h +++ b/src/skin/skin_theme.h @@ -188,7 +188,6 @@ private: bool fill_bg, ui::Widget* widget, const gfx::Rect& rc, int selected_offset); void draw_entry_caret(ui::Entry* widget, int x, int y); - void less_bevel(int *bevel); void paintIcon(ui::Widget* widget, ui::Graphics* g, ui::IButtonIcon* iconInterface, int x, int y);