DragonNest/Client/EtUITool/GenTexture.h
2024-12-19 09:48:26 +08:00

22 lines
393 B
C++

#pragma once
class CUIToolTemplate;
EtTextureHandle GenerateTexture( std::vector< CUIToolTemplate * > &vecToolTemplate, bool bUseTemplateUVCoord = false );
struct SEmptySpaceTexGen
{
int nX;
int nY;
int nWidth;
int nHeight;
void Set( int x, int y, int width, int height )
{
nX = x;
nY = y;
nWidth = width;
nHeight = height;
}
int GetSpace() { return nWidth * nHeight; }
};