Adding ImageCrop and MeasureName/ImageName changes by spx.

This commit is contained in:
Birunthan Mohanathas
2010-12-05 15:34:37 +00:00
parent 862a6d86ae
commit 6efbd23314
8 changed files with 231 additions and 80 deletions

View File

@ -36,10 +36,11 @@ public:
virtual void BindMeasure(const std::list<CMeasure*>& measures);
protected:
void LoadImage(bool bLoadAlways);
void LoadImage(const std::wstring& imageName, bool bLoadAlways);
CTintedImage m_Image;
std::wstring m_ImageName; // Name of the image
std::wstring m_ImageNameResult; // Name of the image (as absolute path)
std::wstring m_Path;
bool m_NeedsReload;
@ -47,6 +48,9 @@ protected:
bool m_HeightDefined;
bool m_PreserveAspectRatio; // If true, aspect ratio of the image is preserved when the image is scaled
bool m_Tile;
std::vector<std::wstring> m_MeasureNames;
std::vector<CMeasure*> m_Measures;
};
#endif