summaryrefslogtreecommitdiff
path: root/library/customButton.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 16:56:34 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 16:56:34 +0200
commit9084fa27f0f43cfa31dbc3a7ef87e2600c2dc3ca (patch)
tree61e2edc315a164d6fa3940b7de4b14dda0a9838c /library/customButton.h
parent1.15 (diff)
downloadFreeFileSync-9084fa27f0f43cfa31dbc3a7ef87e2600c2dc3ca.tar.gz
FreeFileSync-9084fa27f0f43cfa31dbc3a7ef87e2600c2dc3ca.tar.bz2
FreeFileSync-9084fa27f0f43cfa31dbc3a7ef87e2600c2dc3ca.zip
1.16
Diffstat (limited to 'library/customButton.h')
-rw-r--r--library/customButton.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/customButton.h b/library/customButton.h
index 1f3f50ec..ce43828a 100644
--- a/library/customButton.h
+++ b/library/customButton.h
@@ -23,16 +23,18 @@ public:
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxButtonNameStr);
- void setBitmapFront(const wxBitmap& bitmap);
+ void setBitmapFront(const wxBitmap& bitmap, unsigned spaceAfter = 0);
void setTextLabel( const wxString& text);
- void setBitmapBack( const wxBitmap& bitmap);
+ void setBitmapBack( const wxBitmap& bitmap, unsigned spaceBefore = 0);
private:
wxBitmap createBitmapFromText(const wxString& text);
void refreshButtonLabel();
wxBitmap bitmapFront;
+ unsigned m_spaceAfter;
wxString textLabel;
+ unsigned m_spaceBefore;
wxBitmap bitmapBack;
};
bgstack15