 |
Gorgon Game Engine
|
Go to the documentation of this file.
4 #include "../Geometry/Bounds.h"
6 namespace Gorgon {
namespace Input {
1072 over = [fn, my](
Layer &layer) { (my->*fn)(layer); };
1078 void SetOver(C_ &c, std::function<
void(C_ &)> fn) {
1080 over = [fn, my](
Layer &) { (my->*fn)(); };
1087 over = [fn, my](
Layer &layer) { (my->*fn)(layer); };
1093 void SetOver(C_ *my, std::function<
void(C_ &)> fn) {
1094 over = [fn, my](
Layer &) { (my->*fn)(); };
1118 out = [fn, my](
Layer &layer) { (my->*fn)(layer); };
1123 void SetOut(C_ &c, std::function<
void(C_ &)> fn) {
1125 out = [fn, my](
Layer &) { (my->*fn)(); };
1131 out = [fn, my](
Layer &layer) { (my->*fn)(layer); };
1136 void SetOut(C_ *my, std::function<
void(C_ &)> fn) {
1137 out = [fn, my](
Layer &) { (my->*fn)(); };
1149 click(*
this, location, button);
Root namespace for Gorgon Game Engine.
Definition: Any.h:19
basic_Point< int > Point
Definition: Point.h:598
This class is the base class for all layer types.
Definition: Layer.h:79
This class represents a 2D point.
Definition: Point.h:32
Layer()
Constructor that sets the layer to cover entire parent, no matter how big it is.
Definition: Layer.h:90