#pragma once class CP4ImageList : public CImageList { protected: CBitmap *m_normalBmp; CBitmap *m_disabledBmp; CBitmap *m_disabledmenuBmp; CImageList * m_disabled; CImageList * m_disabledmenu; bool m_blendBackground; int m_colorDepth; bool m_use256ColorIcons; bool BlendBackground(int nId, COLORREF bg); bool BlendDisabledOnly(int nId, COLORREF bg); public: CP4ImageList(); ~CP4ImageList(); virtual bool Create() = 0; // force use of 256 color icons; call before Create() to have effect void Use256ColorIcons() { m_use256ColorIcons = true; } // get the disabled image list, if any CImageList * GetDisabled() { return m_disabled; } CImageList * GetDisabledMenu() { return m_disabledmenu; } // color depth this image was created for int ColorDepth() const { return m_colorDepth; } void OnSysColorChange(COLORREF bg); }; class CP4ToolBarImageList : public CP4ImageList { protected: bool Create(int cx, int cy, int idNormal4, int idDisabled4, int idNormal32, COLORREF transparent4); };
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 19924 | YourUncleBob |
Populate -o //guest/perforce_software/p4win/... //guest/YourUncleBob/p4win/..... |
||
//guest/perforce_software/p4win/main/common/P4ImageList.h | |||||
#1 | 16169 | perforce_software | Move files to follow new path scheme for branches. | ||
//guest/perforce_software/p4win/common/P4ImageList.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. |