mirror of
https://github.com/opentx/opentx.git
synced 2025-07-20 14:55:13 +03:00
More telemetry units. GPS screen rewritten.
This commit is contained in:
parent
209589ccc7
commit
f2126a8aa6
12 changed files with 84 additions and 68 deletions
|
@ -173,12 +173,10 @@ void Open9xSim::makeSnapshot(const FXDrawable* drawable)
|
|||
sprintf(buf,"snapshot_%02d.png", ++g_snapshot_idx);
|
||||
} while (stream.open(buf, FXStreamLoad));
|
||||
|
||||
if (stream.open(buf, FXStreamSave))
|
||||
//if (stream.open("snapshot.png", FXStreamSave))
|
||||
{
|
||||
if (stream.open(buf, FXStreamSave)) {
|
||||
snapshot.savePixels(stream);
|
||||
stream.close();
|
||||
printf("Snapshot written: %s\n",buf);
|
||||
printf("Snapshot written: %s\n", buf);
|
||||
}
|
||||
else {
|
||||
printf("Cannot create snapshot %s\n", buf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue