~ubuntu-branches/debian/sid/3depict/sid

« back to all changes in this revision

Viewing changes to src/glPane.h

  • Committer: Bazaar Package Importer
  • Author(s): D Haley, Sylvestre Ledru
  • Date: 2011-04-12 17:44:06 UTC
  • mfrom: (1.2.1 upstream) (3.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20110412174406-zz06iu3xmardt43s
Tags: 0.0.5-1
[ Sylvestre Ledru ]
* watch file added
* Switch to dpkg-source 3.0 (quilt) format

* New upstream version 

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#ifndef _glpane_
19
19
#define _glpane_
20
20
 
21
 
#include "wxPreprec.h"
22
 
 
 
21
#include <wx/wx.h>
23
22
#include <wx/glcanvas.h>
24
23
 
25
24
//Local includes
46
45
        //The scene ID value for object currently being "hovered" over
47
46
        unsigned int hoverObject;
48
47
 
49
 
 
50
48
        //!Last mouseflags/keyflags during selection event
51
49
        unsigned int lastMouseFlags,lastKeyFlags;
52
50
 
63
61
 
64
62
        //!Are we currently applying a device in the scene?
65
63
        bool applyingDevice;
 
64
 
 
65
 
 
66
        //Parameters for modifying mouse speed
 
67
        float mouseZoomFactor,mouseMoveFactor;
 
68
 
66
69
public:
67
70
        //!The scene object, holds all info about 3D drawable components
68
71
        Scene currentScene;
83
86
        int getWidth();
84
87
        int getHeight();
85
88
  
 
89
 
 
90
        void setMouseMoveFactor(float f) { mouseMoveFactor=f;};
 
91
        void setMouseZoomFactor(float f) { mouseZoomFactor=f;};
 
92
 
 
93
 
86
94
        
87
95
        //!Set the background colour (openGL clear colour)
88
96
        void setGlClearColour(float r,float g,float b);