1
0
forked from 0ad/0ad

Added default to <image size> ("0 0 100% 100%")

This was SVN commit r2543.
This commit is contained in:
Gee 2005-07-25 04:48:13 +00:00
parent 0014fe0e27
commit f84cfcdf2a

View File

@ -1464,6 +1464,7 @@ void CGUI::Xeromyces_ReadImage(XMBElement Element, CXeromyces* pFile, CGUISprite
// TODO Gee: (2004-08-30) This is not how to set defaults.
CStr DefaultTextureSize ("0 0 100% 100%");
image.m_TextureSize = CClientArea(DefaultTextureSize);
image.m_Size = CClientArea(DefaultTextureSize);
// TODO Gee: Setup defaults here (or maybe they are in the SGUIImage ctor)