C++学习(三二一)GUIEventAdapter::MOVE与GUIEventAdapter::DRAG区别
Posted hankern
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了C++学习(三二一)GUIEventAdapter::MOVE与GUIEventAdapter::DRAG区别相关的知识,希望对你有一定的参考价值。
MOVE没有鼠标左键按下移动,DRAG鼠标左键按下移动
osgGA/GUIEventAdapter
class OSGGA_EXPORT GUIEventAdapter : public Event
{
enum EventType {
NONE = 0,
PUSH = 1<<0,
RELEASE = 1<<1,
DOUBLECLICK = 1<<2,
DRAG = 1<<3,
MOVE = 1<<4,
KEYDOWN = 1<<5,
KEYUP = 1<<6,
FRAME = 1<<7,
RESIZE = 1<<8,
SCROLL = 1<<9,
PEN_PRESSURE = 1<<10,
PEN_ORIENTATION = 1<<11,
PEN_PROXIMITY_ENTER = 1<<12,
PEN_PROXIMITY_LEAVE = 1<<13,
CLOSE_WINDOW = 1<<14,
QUIT_APPLICATION = 1<<15,
USER = 1<<16
};
}
以上是关于C++学习(三二一)GUIEventAdapter::MOVE与GUIEventAdapter::DRAG区别的主要内容,如果未能解决你的问题,请参考以下文章
C++学习(三二九)osg::Geometry绘制到窗口的过程