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

OS::Edit Class Reference

Edit control. More...

#include <Edit.h>

Inheritance diagram for OS::Edit:

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

Protected Member Functions

void OnPaint ()
 Handler for MSG_PAINT messages.

void OnKeyDown (uint32_t key)
 Handler for MSG_KEYDOWN messages.

void OnMouseDown (point_t pt)
 Handler for MSG_MOUSEDOWN messages.


Detailed Description

Edit control.


Member Function Documentation

void Edit::OnKeyDown uint32_t  key  )  [protected, virtual]
 

Handler for MSG_KEYDOWN messages.

Parameters:
key Key code; see <os/keyboard.h>

Reimplemented from OS::WindowImpl.

void Edit::OnMouseDown point_t  pt  )  [protected, virtual]
 

Handler for MSG_MOUSEDOWN messages.

Parameters:
\pt Position of the mouse pointer when the button was pressed

Reimplemented from OS::WindowImpl.

void Edit::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/Edit.h
  • /coreos/libgui/Edit.cpp
Post a comment

From: