Adapt Android mobile controls and native client UI
This commit is contained in:
@@ -386,6 +386,8 @@ namespace UI
|
||||
void SetRotation(float fRotation);
|
||||
void SetRenderingRect(float fLeft, float fTop, float fRight, float fBottom);
|
||||
void SetRenderingMode(int iMode);
|
||||
void SetAspectFill(bool bEnable);
|
||||
bool IsAspectFill() const;
|
||||
|
||||
protected:
|
||||
void OnCreateInstance();
|
||||
@@ -393,8 +395,14 @@ namespace UI
|
||||
|
||||
virtual void OnUpdate();
|
||||
virtual void OnRender();
|
||||
virtual void OnChangePosition();
|
||||
|
||||
BOOL OnIsType(DWORD dwType);
|
||||
|
||||
bool IsAutoAspectFillBackground() const;
|
||||
|
||||
protected:
|
||||
bool m_bAspectFill;
|
||||
};
|
||||
class CAniImageBox : public CWindow
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user