Added FApplication::processExternalUserEvent()
This commit is contained in:
parent
45ddbd88d3
commit
a0e1115ff6
|
@ -1,6 +1,8 @@
|
|||
2020-05-26 Markus Gans <guru.mail@muenster.de>
|
||||
* FWidgetColors now uses polymorphism, so you can now easily
|
||||
create your own widget color theme
|
||||
* FApplication has got the new virtual method processExternalUserEvent()
|
||||
for user code
|
||||
|
||||
2020-05-24 Markus Gans <guru.mail@muenster.de>
|
||||
* New class FStringStream implements input and output operations
|
||||
|
|
|
@ -262,6 +262,12 @@ bool FApplication::removeQueuedEvent (const FObject* receiver)
|
|||
return retval;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
void FApplication::processExternalUserEvent()
|
||||
{
|
||||
// This method can be overloaded and replaced by own code
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
FWidget* FApplication::processParameters (const int& argc, char* argv[])
|
||||
{
|
||||
|
@ -1154,6 +1160,7 @@ bool FApplication::processNextEvent()
|
|||
processTerminalUpdate();
|
||||
processCloseWidget();
|
||||
processLogger();
|
||||
processExternalUserEvent();
|
||||
|
||||
sendQueuedEvents();
|
||||
num_events += processTimerEvent();
|
||||
|
|
|
@ -129,6 +129,7 @@ class FApplication : public FWidget
|
|||
void sendQueuedEvents();
|
||||
bool eventInQueue();
|
||||
bool removeQueuedEvent (const FObject*);
|
||||
virtual void processExternalUserEvent();
|
||||
static FWidget* processParameters (const int&, char*[]);
|
||||
static void showParameterUsage ()
|
||||
#if defined(__clang__) || defined(__GNUC__)
|
||||
|
|
Loading…
Reference in New Issue