summaryrefslogtreecommitdiff
path: root/LiteEditor/clauidockart.cpp
diff options
context:
space:
mode:
authorAlessio Treglia <quadrispro@ubuntu.com>2010-05-02 01:22:32 +0200
committerAlessio Treglia <quadrispro@ubuntu.com>2010-05-02 01:22:32 +0200
commit75096346270d50c7b541003e8bd836eb9da82d2e (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /LiteEditor/clauidockart.cpp
parentc298bfa6913b48e5e16f7d3fed3839e203fadba1 (diff)
Clean old upstream branch.
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;
- }
-}