src/driver/fb_generic.cpp/h: use methode showFrame() as bool function

Allows the evaluation of this function for conditions if needed.


Origin commit data
------------------
Branch: ni/coolstream
Commit: ecb1190014
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-10-03 (Wed, 03 Oct 2018)



------------------
This commit was generated by Migit
This commit is contained in:
2018-10-03 18:01:22 +02:00
committed by vanhofen
parent 7d96c18816
commit ce756e1100
2 changed files with 10 additions and 3 deletions

View File

@@ -266,7 +266,7 @@ class CFrameBuffer : public sigc::trackable
void RestoreScreen(int x, int y, int dx, int dy, fb_pixel_t * const memp);
void Clear();
void showFrame(const std::string & filename);
bool showFrame(const std::string & filename);
void stopFrame();
bool loadBackgroundPic(const std::string & filename, bool show = true);
bool Lock(void);