summaryrefslogtreecommitdiff
path: root/LiteEditor/clauidockart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LiteEditor/clauidockart.cpp')
-rw-r--r--LiteEditor/clauidockart.cpp47
1 files changed, 0 insertions, 47 deletions
diff --git a/LiteEditor/clauidockart.cpp b/LiteEditor/clauidockart.cpp
deleted file mode 100644
index 5281ac84..00000000
--- a/LiteEditor/clauidockart.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-#include "clauidockart.h"
-#include <wx/image.h>
-#include <wx/dc.h>
-
-#include "tabicons.h"
-
-CLAuiDockArt::CLAuiDockArt()
-{
- wxImage img(closetab_xpm);
- img.SetAlpha(closetab_alpha, true);
- m_bmp_close = wxBitmap(img);
-
- wxImage img2(closetab_active_xpm);
- img2.SetAlpha(closetab_active_alpha, true);
- m_bmp_close_active = wxBitmap(img2);
-
-}
-
-CLAuiDockArt::~CLAuiDockArt()
-{
-}
-
-void CLAuiDockArt::DrawPaneButton(wxDC& dc, wxWindow* window, int button, int button_state, const wxRect& rect, wxAuiPaneInfo& pane)
-{
- switch(button){
- case wxAUI_BUTTON_CLOSE: {
- wxBitmap bmp;
- switch(button_state){
- case wxAUI_BUTTON_STATE_PRESSED:
- bmp = m_bmp_close_active;
- break;
- case wxAUI_BUTTON_STATE_HIDDEN:
- break;
- case wxAUI_BUTTON_STATE_HOVER:
- case wxAUI_BUTTON_STATE_NORMAL:
- default:
- bmp = m_bmp_close;
- break;
- }
- dc.DrawBitmap(bmp, rect.x, rect.y+1, true);
- break;
- }
- default:
- wxAuiDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane);
- break;
- }
-}