HAbsoluteWindow

Fields

HBaseView * m_pView
float m_width
float m_height
float m_xpos
float m_ypos
AbsoluteWindowType m_xpos_type
AbsoluteWindowType m_ypos_type
AbsoluteWindowType m_width_type
AbsoluteWindowType m_height_type
bool m_bShowBackground
HC_KEY m_key

Detailed Description

class HAbsoluteWindow

Public Functions

HAbsoluteWindow(HBaseView *view, HC_KEY key, float xpos, float ypos, float width, float height, AbsoluteWindowType xpos_type = RelativeLeft, AbsoluteWindowType ypos_type = RelativeTop, AbsoluteWindowType width_type = RelativeLeft, AbsoluteWindowType height_type = RelativeTop, bool sb = false)
HAbsoluteWindow(HBaseView *view, HC_KEY key)
void DecipherOptions()
void AdjustX(float invalue, AbsoluteWindowType wt, float &outvalue)
void AdjustY(float invalue, AbsoluteWindowType wt, float &outvalue)
bool Adjust()
bool IsPositionInWindow(float x, float y)
void CalculateLocalWindowPos(float x, float y, float &xout, float &yout) const
void CalculateOuterWindowPos(float &xout, float &yout) const

Public Members

HBaseView *m_pView
float m_width
float m_height
float m_xpos
float m_ypos
AbsoluteWindowType m_xpos_type
AbsoluteWindowType m_ypos_type
AbsoluteWindowType m_width_type
AbsoluteWindowType m_height_type
bool m_bShowBackground
HC_KEY m_key

Public Static Functions

static void AdjustAll(HBaseView *view)
static bool SetWindow(HBaseView *view, float xpos, float ypos, float width, float height, AbsoluteWindowType xpos_type = RelativeLeft, AbsoluteWindowType ypos_type = RelativeTop, AbsoluteWindowType width_type = RelativeLeft, AbsoluteWindowType height_type = RelativeTop, bool sb = false)
static bool IsPositionInWindow(HBaseView *view, float x, float y)
static void CalculateLocalWindowPos(HBaseView *view, float x, float y, float &xout, float &yout)
static void CalculateOuterWindowPos(HBaseView *view, float x, float y, float &xout, float &yout)