forked from UniStuttgart-VISUS/megamol
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,521 changed files
with
462,621 additions
and
462,621 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
/* | ||
* AbstractUILayer.cpp | ||
* | ||
* Copyright (C) 2016 MegaMol Team | ||
* Alle Rechte vorbehalten. All rights reserved. | ||
*/ | ||
#include "stdafx.h" | ||
#include "AbstractUILayer.h" | ||
#include "gl/Window.h" | ||
|
||
using namespace megamol; | ||
using namespace megamol::console; | ||
|
||
bool AbstractUILayer::Enabled() { | ||
return true; | ||
} | ||
|
||
void AbstractUILayer::onResize(int w, int h) { } | ||
void AbstractUILayer::onDraw() { } | ||
bool AbstractUILayer::onKey(Key key, int scancode, KeyAction action, Modifiers mods) { return false; } | ||
bool AbstractUILayer::onChar(unsigned int charcode) { return false; } | ||
bool AbstractUILayer::onMouseMove(double x, double y) { return false; } | ||
bool AbstractUILayer::onMouseButton(MouseButton button, MouseButtonAction action, Modifiers mods) { return false; } | ||
bool AbstractUILayer::onMouseWheel(double x, double y) { return false; } | ||
|
||
AbstractUILayer::AbstractUILayer(gl::Window& wnd) : wnd(wnd) { | ||
} | ||
|
||
AbstractUILayer::~AbstractUILayer() { | ||
} | ||
/* | ||
* AbstractUILayer.cpp | ||
* | ||
* Copyright (C) 2016 MegaMol Team | ||
* Alle Rechte vorbehalten. All rights reserved. | ||
*/ | ||
#include "stdafx.h" | ||
#include "AbstractUILayer.h" | ||
#include "gl/Window.h" | ||
|
||
using namespace megamol; | ||
using namespace megamol::console; | ||
|
||
bool AbstractUILayer::Enabled() { | ||
return true; | ||
} | ||
|
||
void AbstractUILayer::onResize(int w, int h) { } | ||
void AbstractUILayer::onDraw() { } | ||
bool AbstractUILayer::onKey(Key key, int scancode, KeyAction action, Modifiers mods) { return false; } | ||
bool AbstractUILayer::onChar(unsigned int charcode) { return false; } | ||
bool AbstractUILayer::onMouseMove(double x, double y) { return false; } | ||
bool AbstractUILayer::onMouseButton(MouseButton button, MouseButtonAction action, Modifiers mods) { return false; } | ||
bool AbstractUILayer::onMouseWheel(double x, double y) { return false; } | ||
|
||
AbstractUILayer::AbstractUILayer(gl::Window& wnd) : wnd(wnd) { | ||
} | ||
|
||
AbstractUILayer::~AbstractUILayer() { | ||
} |
Oops, something went wrong.