Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

flipbook.C

Go to the documentation of this file.
00001 #include "flipbook.h"
00002 #include "mwindow.h"
00003 
00004 #include <libintl.h>
00005 #define _(String) gettext(String)
00006 #define gettext_noop(String) String
00007 #define N_(String) gettext_noop (String)
00008 
00009 
00010 FlipBook::FlipBook(MWindow *mwindow)
00011  : BC_MenuItem(_("Flipbook..."))
00012 {
00013         this->mwindow = mwindow;
00014         thread = new FlipBookThread(mwindow);
00015 }
00016 
00017 FlipBook::~FlipBook()
00018 {
00019         delete thread;
00020 }
00021 
00022 FlipBook::handle_event()
00023 {
00024         thread->start();
00025 }
00026 
00027 
00028 
00029 
00030 
00031 FlipBookThread::FlipBookThread(MWindow *mwindow)
00032  : Thread()
00033 {
00034         this->mwindow = mwindow;
00035 }
00036 
00037 FlipBookThread::~FlipBookThread()
00038 {
00039 }
00040 
00041 void FlipBookThread::::run()
00042 {
00043         
00044         ArrayList<FlipBookItem*> flipbooklist;
00045         FlipBookGUI gui(this, mwindow);
00046         
00047         int result = gui.run_window();
00048 }
00049 
00050 
00051 
00052 
00053 
00054 FlipBookGUI::FlipBookGUI(FlipBookThread *thread, MWindow *mwindow)
00055  : BC_Window()
00056 {
00057         this->thread = thread;
00058         this->mwindow = mwindow;
00059 }
00060 
00061 FlipBookGUI::~FlipBookGUI()
00062 {
00063 }

Generated on Sun Jan 8 13:38:55 2006 for Cinelerra-svn by  doxygen 1.4.4