21 #ifndef FXACCELTABLE_H 22 #define FXACCELTABLE_H 50 void resize(FXuint m);
55 long onKeyPress(
FXObject*,FXSelector,
void*);
56 long onKeyRelease(
FXObject*,FXSelector,
void*);
67 void addAccel(FXHotKey hotkey,
FXObject* target=
nullptr,FXSelector seldn=0,FXSelector selup=0);
72 void addAccel(
const FXchar*
string,
FXObject* target=
nullptr,FXSelector seldn=0,FXSelector selup=0);
73 void addAccel(
const FXString&
string,
FXObject* target=
nullptr,FXSelector seldn=0,FXSelector selup=0);
78 void removeAccel(FXHotKey hotkey);
83 void removeAccel(
const FXchar*
string);
84 void removeAccel(
const FXString&
string);
89 FXbool hasAccel(FXHotKey hotkey)
const;
94 FXbool hasAccel(
const FXchar*
string)
const;
95 FXbool hasAccel(
const FXString&
string)
const;
100 FXObject* targetOfAccel(FXHotKey hotkey)
const;
105 FXObject* targetOfAccel(
const FXchar*
string)
const;
133 static FXHotKey parseAccel(
const FXchar*
string);
134 static FXHotKey parseAccel(
const FXString&
string);
142 static FXString unparseAccel(FXHotKey key);
145 virtual void save(
FXStream& store)
const;
163 extern FXAPI FXHotKey parseHotKey(
const FXString&
string);
171 extern FXAPI FXint findHotKey(
const FXString&
string);
The accelerator table sends a message to a specific target object when the indicated key and modifier...
Definition: FXAccelTable.h:36
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
Definition: FX4Splitter.h:28
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:134
Definition: FXAccelTable.h:39
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42