mousewheel scrollbar scenario menu
This commit is contained in:
parent
7d919313a6
commit
2fd87e64c5
|
@ -284,6 +284,10 @@ void MenuStateScenario::mouseMove(int x, int y, const MouseState *ms){
|
|||
buttonPlayNow.mouseMove(x, y);
|
||||
}
|
||||
|
||||
void MenuStateScenario::eventMouseWheel(int x, int y,int zDelta) {
|
||||
comboBoxScenario.eventMouseWheel(x,y,zDelta);
|
||||
}
|
||||
|
||||
void MenuStateScenario::render(){
|
||||
|
||||
Renderer &renderer= Renderer::getInstance();
|
||||
|
|
|
@ -57,6 +57,7 @@ public:
|
|||
|
||||
void mouseClick(int x, int y, MouseButton mouseButton);
|
||||
void mouseMove(int x, int y, const MouseState *mouseState);
|
||||
void eventMouseWheel(int x, int y,int zDelta);
|
||||
void render();
|
||||
void update();
|
||||
|
||||
|
|
Loading…
Reference in New Issue