mirror of
https://github.com/opentx/opentx.git
synced 2025-07-14 20:10:08 +03:00
New nice screen for Logical Switches
This commit is contained in:
parent
4c3dd8a9b2
commit
bfadb3664b
2 changed files with 17 additions and 27 deletions
|
@ -179,7 +179,7 @@ long Open9xSim::onKeypress(FXObject*,FXSelector,void*v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
long Open9xSim::onTimeout(FXObject*,FXSelector,void*)
|
||||
long Open9xSim::onTimeout(FXObject*, FXSelector, void*)
|
||||
{
|
||||
if(hasFocus()) {
|
||||
static int keys1[]={
|
||||
|
@ -284,7 +284,7 @@ long Open9xSim::onTimeout(FXObject*,FXSelector,void*)
|
|||
|
||||
per10ms();
|
||||
refreshDiplay();
|
||||
getApp()->addTimeout(this,2,5);
|
||||
getApp()->addTimeout(this, 2, 10);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue