f670ca05dd608c9d5b0300ca1dc493f6ffd8afa1
Stefan Schuermans first version of canvas mod...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h  1) /* Blinker
Stefan Schuermans update copyright years

Stefan Schuermans authored 10 years ago

src/noarch/CanvasInput.h  2)    Copyright 2011-2014 Stefan Schuermans <stefan@blinkenarea.org>
Stefan Schuermans first version of canvas mod...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h  3)    Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html
src/noarch/CanvasInput.h  4)    a blinkenarea.org project */
src/noarch/CanvasInput.h  5) 
Stefan Schuermans namespace for preprocessor...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h  6) #ifndef BLINKER_CANVASINPUT_H
src/noarch/CanvasInput.h  7) #define BLINKER_CANVASINPUT_H
Stefan Schuermans first version of canvas mod...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h  8) 
src/noarch/CanvasInput.h  9) #include <string>
src/noarch/CanvasInput.h 10) 
src/noarch/CanvasInput.h 11) #include <BlinkenLib/BlinkenFrame.h>
src/noarch/CanvasInput.h 12) 
src/noarch/CanvasInput.h 13) #include "Canvas.h"
src/noarch/CanvasInput.h 14) #include "Directory.h"
src/noarch/CanvasInput.h 15) #include "File.h"
Stefan Schuermans implemented specialized set...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 16) #include "InStreamFile.h"
Stefan Schuermans first version of canvas mod...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 17) #include "Position.h"
Stefan Schuermans implemented specialized set...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 18) #include "PositionFile.h"
Stefan Schuermans first version of canvas mod...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 19) #include "Size.h"
Stefan Schuermans implemented specialized set...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 20) #include "SizeFile.h"
Stefan Schuermans first version of canvas mod...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 21) #include "StreamMgr.h"
src/noarch/CanvasInput.h 22) #include "StreamRecv.h"
src/noarch/CanvasInput.h 23) 
src/noarch/CanvasInput.h 24) namespace Blinker {
src/noarch/CanvasInput.h 25) 
src/noarch/CanvasInput.h 26) /// input to canvas
src/noarch/CanvasInput.h 27) class Canvas::Input: public StreamRecv
src/noarch/CanvasInput.h 28) {
src/noarch/CanvasInput.h 29) public:
src/noarch/CanvasInput.h 30)   /**
src/noarch/CanvasInput.h 31)    * @brief constructor
src/noarch/CanvasInput.h 32)    * @param[in] canvas owning canvas
Stefan Schuermans converted canvas module to...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 33)    * @param[in] name name of input
Stefan Schuermans first version of canvas mod...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 34)    * @param[in] dirBase base directory
src/noarch/CanvasInput.h 35)    */
Stefan Schuermans converted canvas module to...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 36)   Input(Canvas &canvas, const std::string &name, const Directory &dirBase);
Stefan Schuermans first version of canvas mod...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 37) 
src/noarch/CanvasInput.h 38)   /// virtual destructor
src/noarch/CanvasInput.h 39)   virtual ~Input();
src/noarch/CanvasInput.h 40) 
src/noarch/CanvasInput.h 41) private:
src/noarch/CanvasInput.h 42)   /// copy constructor disabled
src/noarch/CanvasInput.h 43)   Input(const Input &that);
src/noarch/CanvasInput.h 44) 
src/noarch/CanvasInput.h 45)   /// assignment operator disabled
src/noarch/CanvasInput.h 46)   const Input & operator=(const Input &that);
src/noarch/CanvasInput.h 47) 
src/noarch/CanvasInput.h 48) public:
src/noarch/CanvasInput.h 49)   /// check for update of configuration
src/noarch/CanvasInput.h 50)   void updateConfig();
src/noarch/CanvasInput.h 51) 
src/noarch/CanvasInput.h 52)   /**
src/noarch/CanvasInput.h 53)    * @brief set current frame
src/noarch/CanvasInput.h 54)    * @param[in] stream stream name
Stefan Schuermans merged frame processing wit...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 55)    * @param[in] pFrame current frame (NULL for none)
Stefan Schuermans first version of canvas mod...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 56)    */
src/noarch/CanvasInput.h 57)   virtual void setFrame(const std::string &stream, stBlinkenFrame *pFrame);
src/noarch/CanvasInput.h 58) 
src/noarch/CanvasInput.h 59)   /**
src/noarch/CanvasInput.h 60)    * @brief draw current frame to canvas
src/noarch/CanvasInput.h 61)    * @return if a frame was available and it was drawn
src/noarch/CanvasInput.h 62)    */
src/noarch/CanvasInput.h 63)   bool draw();
src/noarch/CanvasInput.h 64) 
src/noarch/CanvasInput.h 65) protected:
Stefan Schuermans changed canvas to be able t...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 66)   /// (re-)get position of area to copy from stream
src/noarch/CanvasInput.h 67)   void getSrcPos();
Stefan Schuermans first version of canvas mod...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 68) 
Stefan Schuermans changed canvas to be able t...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 69)   /// (re-)get size of area to copy from stream
Stefan Schuermans first version of canvas mod...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 70)   void getSize();
src/noarch/CanvasInput.h 71) 
Stefan Schuermans changed canvas to be able t...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 72)   /// (re-)get destination position on canvas
src/noarch/CanvasInput.h 73)   void getDestPos();
Stefan Schuermans first version of canvas mod...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 74) 
src/noarch/CanvasInput.h 75) protected:
Stefan Schuermans implemented specialized set...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 76)   Canvas       &m_canvas;      ///< owning canvas
Stefan Schuermans converted canvas module to...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 77)   std::string  m_name;         ///< name of input
Stefan Schuermans implemented specialized set...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 78)   InStreamFile m_fileInStream; ///< input stream name file
src/noarch/CanvasInput.h 79)   PositionFile m_fileSrcPos;   ///< source position file
src/noarch/CanvasInput.h 80)   SizeFile     m_fileSize;     ///< size file
src/noarch/CanvasInput.h 81)   PositionFile m_fileDestPos;  ///< destination position file
Stefan Schuermans first version of canvas mod...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 82) }; // class Canvas::Input
src/noarch/CanvasInput.h 83) 
src/noarch/CanvasInput.h 84) } // namespace Blinker
src/noarch/CanvasInput.h 85) 
Stefan Schuermans namespace for preprocessor...

Stefan Schuermans authored 12 years ago

src/noarch/CanvasInput.h 86) #endif // #ifndef BLINKER_CANVASINPUT_H