Flu_GL_Canvas.cpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // $Id: Flu_GL_Canvas.cpp,v 1.3 2004/09/23 20:16:13 jbryan Exp $
  2. /***************************************************************
  3. * FLU - FLTK Utility Widgets
  4. * Copyright (C) 2002 Ohio Supercomputer Center, Ohio State University
  5. *
  6. * This file and its content is protected by a software license.
  7. * You should have received a copy of this license with this file.
  8. * If not, please contact the Ohio Supercomputer Center immediately:
  9. * Attn: Jason Bryan Re: FLU 1224 Kinnear Rd, Columbus, Ohio 43212
  10. *
  11. ***************************************************************/
  12. #include "FLU/Flu_GL_Canvas.h"
  13. Flu_GL_Canvas :: Flu_GL_Canvas( int x, int y, int w, int h, const char *label )
  14. : Flu_GL_Window( x, y, w, h, label )
  15. {
  16. setInitFunc( _initCB, this );
  17. setResizeFunc( _reshapeCB, this );
  18. setDrawFunc( _renderCB, this );
  19. setMouseWheelFunc( _mouse_wheelCB, this );
  20. setMouseDownFunc( _mouse_button_downCB, this );
  21. setMouseUpFunc( _mouse_button_upCB, this );
  22. setMouseDragFunc( _mouse_dragCB, this );
  23. setMouseMoveFunc( _mouse_moveCB, this );
  24. setMouseEnterFunc( _mouse_enterCB, this );
  25. setMouseExitFunc( _mouse_exitCB, this );
  26. setKeyboardFunc( _keyboardCB, this );
  27. }
  28. Flu_GL_Canvas :: ~Flu_GL_Canvas()
  29. {
  30. }