soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
SNcPanel Class Reference

Non-client panel class. This class represents a panel in the non-client area. More...

#include <SNcPainter.h>

Public Member Functions

 SNcPanel (IHostProxy *pFrameHost, IItemContainer *pItemContainer)
 Constructor for SNcPanel.
 
void SetActive (BOOL bActive)
 Sets the active state of the panel.
 
BOOL IsActive () const
 Checks if the panel is active.
 
virtual HRESULT SetAttribute (const SNS::SStringW &amp;amp;amp;amp;strAttribName, const SNS::SStringW &amp;amp;amp;amp;strValue, BOOL bLoading=FALSE)
 

Protected Member Functions

BOOL OnEraseBkgnd (IRenderTarget *pRT)
 Erases the background of the panel.
 

Protected Attributes

SAutoRefPtr< ISkinObjm_skinActive
 
SAutoRefPtr< ISkinObjm_skinInactive
 
COLORREF m_crActiveTitle
 
COLORREF m_crInactiveTitle
 
BOOL m_bActive
 

Detailed Description

Non-client panel class. This class represents a panel in the non-client area.

Definition at line 369 of file SNcPainter.h.

Constructor & Destructor Documentation

◆ SNcPanel()

SNSBEGIN SNcPanel::SNcPanel ( IHostProxy * pFrameHost,
IItemContainer * pItemContainer )

Constructor for SNcPanel.

Parameters
pFrameHostPointer to the frame host.
pItemContainerPointer to the item container.

Definition at line 7 of file SNcPainter.cpp.

Member Function Documentation

◆ IsActive()

BOOL SNcPanel::IsActive ( ) const
inline

Checks if the panel is active.

Returns
TRUE if the panel is active, FALSE otherwise.

Definition at line 390 of file SNcPainter.h.

◆ OnEraseBkgnd()

BOOL SNcPanel::OnEraseBkgnd ( IRenderTarget * pRT)
protected

Erases the background of the panel.

Parameters
pRTPointer to the render target.
Returns
TRUE if the background is erased, FALSE otherwise.

Definition at line 16 of file SNcPainter.cpp.

◆ SetActive()

void SNcPanel::SetActive ( BOOL bActive)

Sets the active state of the panel.

Parameters
bActiveTRUE if the panel is active, FALSE otherwise.

Definition at line 35 of file SNcPainter.cpp.

◆ SetAttribute()

virtual HRESULT SNcPanel::SetAttribute ( const SNS::SStringW &amp;amp;amp;amp; strAttribName,
const SNS::SStringW &amp;amp;amp;amp; strValue,
BOOL bLoading = FALSE )
inlinevirtual

Reimplemented from SWindow.

Definition at line 408 of file SNcPainter.h.

Member Data Documentation

◆ m_bActive

BOOL SNcPanel::m_bActive
protected

Definition at line 426 of file SNcPainter.h.

◆ m_crActiveTitle

COLORREF SNcPanel::m_crActiveTitle
protected

Definition at line 421 of file SNcPainter.h.

◆ m_crInactiveTitle

COLORREF SNcPanel::m_crInactiveTitle
protected

Definition at line 423 of file SNcPainter.h.

◆ m_skinActive

SAutoRefPtr<ISkinObj> SNcPanel::m_skinActive
protected

Definition at line 417 of file SNcPainter.h.

◆ m_skinInactive

SAutoRefPtr<ISkinObj> SNcPanel::m_skinInactive
protected

Definition at line 419 of file SNcPainter.h.


The documentation for this class was generated from the following files: