diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2008-11-17 23:14:29 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2008-11-17 23:14:29 +0100 |
| commit | 9ca172f45cc02fe5cb693e7d35aade7d2233d448 (patch) | |
| tree | dd92a24c5a511360b0655e8908a208b02a2d2d67 /lib/gdi/picload.h | |
| parent | 68687c79e44dbd66db07879bd25309f08e339ece (diff) | |
| download | enigma2-9ca172f45cc02fe5cb693e7d35aade7d2233d448.tar.gz enigma2-9ca172f45cc02fe5cb693e7d35aade7d2233d448.zip | |
picload: more simple non async decode (deprecated)
Diffstat (limited to 'lib/gdi/picload.h')
| -rw-r--r-- | lib/gdi/picload.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gdi/picload.h b/lib/gdi/picload.h index 6a0f70b9..f64fd2f9 100644 --- a/lib/gdi/picload.h +++ b/lib/gdi/picload.h @@ -85,7 +85,7 @@ class ePicLoad: public eMainloop, public eThread, public Object, public iObject void gotMessage(const Message &message); void thread(); - int startThread(int what, const char *file, int x, int y); + int startThread(int what, const char *file, int x, int y, bool async=true); void thread_finished(); public: void waitFinished(); @@ -94,8 +94,8 @@ public: ePicLoad(); ~ePicLoad(); - RESULT startDecode(const char *filename, int x=0, int y=0); - RESULT getThumbnail(const char *filename, int x=0, int y=0); + RESULT startDecode(const char *filename, int x=0, int y=0, bool async=true); + RESULT getThumbnail(const char *filename, int x=0, int y=0, bool async=true); RESULT setPara(PyObject *val); PyObject *getInfo(const char *filename); SWIG_VOID(int) getData(ePtr<gPixmap> &SWIG_OUTPUT); |
