add "signals" for start and end of screenshot capturing. Like the other
signals, this is meant for attaching listeners. The ufo will use that to hide/reveal the status line in screenshots. The following signal properties are now available: /sim/signals/exit ... set to 1 right before quitting /sim/signals/reinit ... set to 1 on re-init (Shift-Esc) /sim/signals/screenshot ... set to 1 before and to 0 after screenshot /sim/signals/click ... set to 1 after mouse clicks at terrain, signalling that the geo coords in /sim/input/click/ were updated
This commit is contained in:
parent
95a97dbee4
commit
d409d5dbbe
1 changed files with 2 additions and 0 deletions
|
@ -554,6 +554,7 @@ void fgDumpSnapShot () {
|
|||
show_pu_cursor = true;
|
||||
puHideCursor();
|
||||
}
|
||||
fgSetBool("/sim/signals/screenshot", true);
|
||||
|
||||
FGRenderer *renderer = globals->get_renderer();
|
||||
renderer->init();
|
||||
|
@ -586,6 +587,7 @@ void fgDumpSnapShot () {
|
|||
message += "\".";
|
||||
}
|
||||
|
||||
fgSetBool("/sim/signals/screenshot", false);
|
||||
mkDialog (message.c_str());
|
||||
|
||||
delete [] filename;
|
||||
|
|
Loading…
Add table
Reference in a new issue