// // Copyright 1997 Nicholas J. Irias. All rights reserved. // // // ZimbabweSplitter.h : // Splitter to remember the height of the lowest splitter pane, even if // the splitter is sized smaller than that pane. This class is called // a Zimbabwe splitter because it is not in any way generic. It is intended // only for use with a horizontal two pane splitter. Making this class // generic is left as an exercise for someone with spare time. #ifndef __ZIMBABWESPLITTER__ #define __ZIMBABWESPLITTER__ ///////////////////////////////////////////////////////////////////////////// // CSplitter frame with splitter #ifndef __AFXEXT_H__ #include <afxext.h> #endif #include "FlatSplitter.h" class CZimbabweSplitter : public CFlatSplitter { DECLARE_DYNCREATE(CZimbabweSplitter) public: CZimbabweSplitter(); RECT m_ZimbabweRect; int m_BarAndBorders; int m_cyCur0; int m_cyCur1; BOOL m_Sizing; // Operations public: void RecalcLayout(); void Resized(); void SetSizing(BOOL sizing) { m_Sizing= sizing; } // Implementation public: virtual ~CZimbabweSplitter(); DECLARE_MESSAGE_MAP() }; #endif //__ZIMBABWESPLITTER__ /////////////////////////////////////////////////////////////////////////////
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 9617 | Ben_Key |
Populate //guest/Ben_Key/p4win/trunk/... from //guest/perforce_software/p4win/.... |
||
//guest/perforce_software/p4win/gui/ZimbabweSplitter.h | |||||
#1 | 8562 | Matt Attaway |
These feet never stop running. Initial commit of the P4Win source code. To the best of our knowledge this compiles and runs using the 2013.3 P4 API and VS 2010. Expect a few changes as we refine the build process. Please post any build issues to the forums. |