Commit c4ae6bf0 authored by Dirk Wilden's avatar Dirk Wilden

added scriptable snaphot() function

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 40bfe0ff
......@@ -891,6 +891,17 @@ void Core::slotGetDescription(QString _function, QString& _fnDescript
void Core::snapshotBaseFileName(const QString& _fname){
if ( OpenFlipper::Options::gui() )
void Core::snapshot(){
if ( OpenFlipper::Options::gui() )
/// set the descriptions for scriptable slots of the core
void Core::setDescriptions(){
......@@ -300,6 +300,16 @@ public slots:
/// set the maximal framerate ( automatically enables framerate restriction )
void setMaxFrameRate( int _rate );
/// set the baseFilename for snapshots (a counter is automatically increased when
/// snapshot() is called)
void snapshotBaseFileName(const QString& _fname);
/** Trigger a snapshot and increase the snapshot counter.
Save snapshot to file determined by snapshotBaseFileName() and
the current snapshot counter. The \a back buffer will be saved.
void snapshot();
/** @} */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment