mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-10 05:57:12 +00:00
7bfe647366
TextureManager: Skip *.jbf too. This was SVN commit r3085.
19 lines
490 B
C++
19 lines
490 B
C++
#include "wx/splitter.h"
|
|
|
|
class SnapSplitterWindow : public wxSplitterWindow
|
|
{
|
|
public:
|
|
SnapSplitterWindow(wxWindow* parent, long style = wxSP_3D);
|
|
void SetDefaultSashPosition(int sashPosition);
|
|
virtual bool SplitVertically(wxWindow *window1, wxWindow *window2);
|
|
virtual bool SplitHorizontally(wxWindow *window1, wxWindow *window2);
|
|
|
|
private:
|
|
void OnSashPosChanging(wxSplitterEvent& evt);
|
|
|
|
int m_DefaultSashPosition;
|
|
int m_SnapTolerance;
|
|
|
|
DECLARE_EVENT_TABLE();
|
|
};
|