Project stdui: "Simple Type Dialog User-Interface"

|
Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

stdui::ckeypressevent Class Reference

#include <cevent.h>

Inheritance diagram for stdui::ckeypressevent:

Inheritance graph
[legend]
Collaboration diagram for stdui::ckeypressevent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ckeypressevent ()
 ckeypressevent (int kv, bool meta)
int keyvalue ()
bool ismeta ()

Private Member Functions

virtual void _translate ()

Private Attributes

int key
bool bmeta

Constructor & Destructor Documentation

stdui::ckeypressevent::ckeypressevent  )  [inline]
 

Definition at line 260 of file cevent.h.

00260 : cevent(){}

stdui::ckeypressevent::ckeypressevent int  kv,
bool  meta
[inline]
 

Definition at line 262 of file cevent.h.

References _translate(), bmeta, and key.

00262                                     :cevent(event_type::keyevent, events::keypress){
00263       key = kv;
00264       bmeta = meta;
00265       _translate();
00266    }

Here is the call graph for this function:


Member Function Documentation

void stdui::ckeypressevent::_translate  )  [private, virtual]
 

Todo:
implement me

Reimplemented from stdui::cevent.

Definition at line 139 of file cevent.cpp.

Referenced by ckeypressevent().

00140 {
00141     //_debug(1)<< "==> " << (char*)(bmeta ? "meta-" : "key") << '[' << (char) key << "] (#" << key << ')' << endl;
00142 }

bool stdui::ckeypressevent::ismeta  )  [inline]
 

Definition at line 276 of file cevent.h.

References bmeta.

00276 { return bmeta;  }

int stdui::ckeypressevent::keyvalue  )  [inline]
 

Definition at line 271 of file cevent.h.

References key.

00271 { return key; }


Member Data Documentation

bool stdui::ckeypressevent::bmeta [private]
 

Definition at line 281 of file cevent.h.

Referenced by ckeypressevent(), and ismeta().

int stdui::ckeypressevent::key [private]
 

Definition at line 280 of file cevent.h.

Referenced by ckeypressevent(), and keyvalue().


The documentation for this class was generated from the following files:
API Documentation Generated by:  doxygen 1.4.0
About the author | Site started with trial version of DreamWeaver MX 2004 | Finalizing with  | Contact | ©2005, Serge Lussier ( Bretzel )