Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

os::StringView Class Reference

#include <stringview.h>

Inheritance diagram for os::StringView::

os::View os::Handler List of all members.

Public Methods

 StringView (Rect cFrame, const char *pzName, const char *pzString, alignment eAlign=ALIGN_LEFT, uint32 nResizeMask=CF_FOLLOW_LEFT|CF_FOLLOW_TOP, uint32 nFlags=WID_WILL_DRAW|WID_FULL_UPDATE_ON_RESIZE)
 ~StringView ()
void SetMinPreferredSize (int nWidthChars)
void SetMaxPreferredSize (int nWidthChars)
virtual Point GetPreferredSize (bool bLargest) const
virtual void Paint (const Rect &cUpdateRect)
 Called by the system update "damaged" areas of the view. More...

void SetString (const char *pzString)
const char * GetString (void) const
void SetAlignment (alignment eAlign)
alignment GetAlignment (void) const
virtual void AttachedToWindow ()

Detailed Description

Description:
See also:
Author:
Kurt Skauen ([email protected])


Constructor & Destructor Documentation

StringView::StringView Rect cFrame,
const char * pzName,
const char * pzString,
alignment eAlign = ALIGN_LEFT,
uint32 nResizeMask = CF_FOLLOW_LEFT | CF_FOLLOW_TOP,
uint32 nFlags = WID_WILL_DRAW | WID_FULL_UPDATE_ON_RESIZE
 

StringView::~StringView
 


Member Function Documentation

void StringView::AttachedToWindow void [virtual]
 

Reimplemented from os::View.

alignment os::StringView::GetAlignment void const
 

Point StringView::GetPreferredSize bool bLargest const [virtual]
 

Reimplemented from os::View.

const char * StringView::GetString void const
 

void StringView::Paint const Rect & cUpdateRect [virtual]
 

Description:
Note:
Warning:
Parameters:
cUpdateRect   A rectangle enclosing all damaged areas. This is just a rough "worst-case", further fine-grained clipping will be performed by the Application Server to avoid updating non-damaged pixels and make the update as fast and flicker-free as possible.

See also:
Invalidate(), Flush()
Author:
Kurt Skauen ([email protected])

Reimplemented from os::View.

void os::StringView::SetAlignment alignment eAlign
 

void StringView::SetMaxPreferredSize int nWidthChars
 

void StringView::SetMinPreferredSize int nWidthChars
 

void StringView::SetString const char * pzString
 


Generated at Tue Sep 11 15:27:54 2001 for AtheOS higlevel API by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001