The Möbius Operating System: OS::Label class Reference
HOME DOWNLOAD DOCUMENTATION SCREENSHOTS  

OS::Label Class Reference

Label control. More...

#include <Label.h>

Inheritance diagram for OS::Label:

OS::Control OS::WindowImpl OS::Window OS::MessageHandler List of all members.

Public Types

enum  Flags {
  AlignLeft = 0x00, AlignCentre = 0x01, AlignRight = 0x02, MaskAlignHorz = 0x03,
  AlignTop = 0x00, AlignMiddle = 0x04, AlignBottom = 0x05, MaskAlignVert = 0x07
}

Public Member Functions

bool Create (WindowImpl *parent, const wchar_t *title, unsigned flags, const rect_t &position=Rect(0, 0, 0, 0))

Protected Member Functions

void OnPaint ()
 Handler for MSG_PAINT messages.


Protected Attributes

unsigned m_flags

Detailed Description

Label control.


Member Function Documentation

void Label::OnPaint  )  [protected, virtual]
 

Handler for MSG_PAINT messages.

You should declare a Painter object in your OnPaint handler, or call BeginPaint.

Reimplemented from OS::WindowImpl.


The documentation for this class was generated from the following files:
  • /include/gui/Label.h
  • /coreos/libgui/Label.cpp
Post a comment

From: