프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CachedLabel | void | ||
ClearFontCache | void | ||
GUIPropertyManager_OnPropertyChanged | void |
메소드 | 설명 | |
---|---|---|
AllocResources ( ) : void |
Allocate any direct3d sources
|
|
Animate ( float timePassed, MediaPortal.GUI.Library.Animator animator ) : void | ||
CanFocus ( ) : bool |
Checks if the control can focus.
|
|
Dispose ( ) : void |
Free any direct3d resources
|
|
DrawText ( float xpos, float ypos, string label, int width ) : void | ||
DrawTextWidth ( float xpos, float ypos, string label, float fMaxWidth ) : void | ||
FinalizeConstruction ( ) : void |
This function is called after all of the XmlSkinnable fields have been filled with appropriate data. Use this to do any construction work other than simple data member assignments, for example, initializing new reference types, extra calculations, etc..
|
|
GUILabelControl ( int dwParentID ) : System | ||
GUILabelControl ( int dwParentID, int dwControlId, int dwPosX, int dwPosY, int dwWidth, int dwHeight, string strFont, string strLabel, long dwTextColor, Alignment dwTextAlign, VAlignment dwTextVAlign, bool bHasPath, int dwShadowAngle, int dwShadowDistance, long dwShadowColor ) : System |
The constructor of the GUILabelControl class.
|
|
OnMessage ( |
This method is called when a message was recieved by this control.
|
|
Render ( float timePassed ) : void |
Renders the text onscreen.
|
|
SetPosition ( int dwPosX, int dwPosY ) : void | ||
SetShadow ( int angle, int distance, long color ) : void |
Set the shadow properties
|
메소드 | 설명 | |
---|---|---|
Update ( ) : void |
updates the current label by deleting the fontcache
|
메소드 | 설명 | |
---|---|---|
CachedLabel ( ) : void | ||
ClearFontCache ( ) : void | ||
GUIPropertyManager_OnPropertyChanged ( string tag, string tagValue ) : void |
public Animate ( float timePassed, MediaPortal.GUI.Library.Animator animator ) : void | ||
timePassed | float | |
animator | MediaPortal.GUI.Library.Animator | |
리턴 | void |
public DrawText ( float xpos, float ypos, string label, int width ) : void | ||
xpos | float | |
ypos | float | |
label | string | |
width | int | |
리턴 | void |
public DrawTextWidth ( float xpos, float ypos, string label, float fMaxWidth ) : void | ||
xpos | float | |
ypos | float | |
label | string | |
fMaxWidth | float | |
리턴 | void |
public GUILabelControl ( int dwParentID ) : System | ||
dwParentID | int | |
리턴 | System |
public GUILabelControl ( int dwParentID, int dwControlId, int dwPosX, int dwPosY, int dwWidth, int dwHeight, string strFont, string strLabel, long dwTextColor, Alignment dwTextAlign, VAlignment dwTextVAlign, bool bHasPath, int dwShadowAngle, int dwShadowDistance, long dwShadowColor ) : System | ||
dwParentID | int | The parent of this control. |
dwControlId | int | The ID of this control. |
dwPosX | int | The X position of this control. |
dwPosY | int | The Y position of this control. |
dwWidth | int | The width of this control. |
dwHeight | int | The height of this control. |
strFont | string | The indication of the font of this control. |
strLabel | string | The text of this control. |
dwTextColor | long | The color of this control. |
dwTextAlign | Alignment | The alignment of this control. |
dwTextVAlign | VAlignment | The vertical alignment of this control. |
bHasPath | bool | Indicates if the label is containing a path. |
dwShadowAngle | int | The angle of the shadow; zero degress along x-axis. |
dwShadowDistance | int | The distance of the shadow. |
dwShadowColor | long | The color of the shadow. |
리턴 | System |
public OnMessage ( |
||
message | The message. | |
리턴 | bool |
public SetPosition ( int dwPosX, int dwPosY ) : void | ||
dwPosX | int | |
dwPosY | int | |
리턴 | void |
public SetShadow ( int angle, int distance, long color ) : void | ||
angle | int | |
distance | int | |
color | long | |
리턴 | void |