mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Add CDXUTElement class
This commit is contained in:
parent
38a476378e
commit
1675c68d5e
@ -35,6 +35,23 @@ struct DXUTBlendColor
|
||||
};
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Contains all the display tweakables for a sub-control
|
||||
//-----------------------------------------------------------------------------
|
||||
class CDXUTElement
|
||||
{
|
||||
public:
|
||||
UINT iTexture; // Index of the texture for this Element
|
||||
UINT iFont; // Index of the font for this Element
|
||||
DWORD dwTextFormat; // The format argument to DrawText
|
||||
|
||||
RECT rcTexture; // Bounding rect of this element on the composite texture
|
||||
|
||||
DXUTBlendColor TextureColor;
|
||||
DXUTBlendColor FontColor;
|
||||
};
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------
|
||||
// Structs for shared resources
|
||||
//--------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user