le3d - LightEngine 3D
A straightforward C++ 3D software engine for real-time graphics
Classes | Enumerations
window.h File Reference

LightEngine 3D: Native OS window manager. More...

#include "global.h"
#include "config.h"

Go to the source code of this file.

Classes

struct  LeDrawingContext
 Represent an OS specific drawing context. More...
 
class  LeWindow
 Create and handle an OS native window. More...
 

Enumerations

enum  LE_WINDOW_MOUSE_BUTTONS {
  LE_WINDOW_MOUSE_LEFT = 0x1, LE_WINDOW_MOUSE_RIGHT = 0x2, LE_WINDOW_MOUSE_MIDDLE = 0x4, LE_WINDOW_MOUSE_WHEEL_UP = 0x8,
  LE_WINDOW_MOUSE_WHEEL_DOWN = 0x8
}
 mouse buttons identifiers More...
 
enum  LE_WINDOW_KEY_STATES {
  LE_WINDOW_KEYSTATE_PRESSED = 0x01, LE_WINDOW_KEYSTATE_RELEASED = 0x02, LE_WINDOW_KEYSTATE_SHIFT = 0x10, LE_WINDOW_KEYSTATE_CTRL = 0x20,
  LE_WINDOW_KEYSTATE_ALT = 0x40
}
 
enum  LE_WINDOW_KEY_CODES {
  LE_WINDOW_KEYCODE_NONE = 0, LE_WINDOW_KEYCODE_UP = 1, LE_WINDOW_KEYCODE_DOWN = 2, LE_WINDOW_KEYCODE_LEFT = 3,
  LE_WINDOW_KEYCODE_RIGHT = 4, LE_WINDOW_KEYCODE_SHIFT = 5, LE_WINDOW_KEYCODE_CTRL = 6, LE_WINDOW_KEYCODE_ALT = 7,
  LE_WINDOW_KEYCODE_TAB = 8, LE_WINDOW_KEYCODE_ESC = 9, LE_WINDOW_KEYCODE_BACKSPACE = 10, LE_WINDOW_KEYCODE_ENTER = 11
}
 

Detailed Description

LightEngine 3D: Native OS window manager.

All platforms implementation

Author
Frederic Meslin (fred@.nosp@m.fred.nosp@m.slab..nosp@m.net) http://fredslab.net
Version
1.75

The MIT License (MIT) Copyright (c) 2015-2018 Frédéric Meslin

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Enumeration Type Documentation

Enumerator
LE_WINDOW_KEYCODE_NONE 
LE_WINDOW_KEYCODE_UP 
LE_WINDOW_KEYCODE_DOWN 
LE_WINDOW_KEYCODE_LEFT 
LE_WINDOW_KEYCODE_RIGHT 
LE_WINDOW_KEYCODE_SHIFT 
LE_WINDOW_KEYCODE_CTRL 
LE_WINDOW_KEYCODE_ALT 
LE_WINDOW_KEYCODE_TAB 
LE_WINDOW_KEYCODE_ESC 
LE_WINDOW_KEYCODE_BACKSPACE 
LE_WINDOW_KEYCODE_ENTER 
Enumerator
LE_WINDOW_KEYSTATE_PRESSED 
LE_WINDOW_KEYSTATE_RELEASED 
LE_WINDOW_KEYSTATE_SHIFT 
LE_WINDOW_KEYSTATE_CTRL 
LE_WINDOW_KEYSTATE_ALT 

mouse buttons identifiers

Enumerator
LE_WINDOW_MOUSE_LEFT 
LE_WINDOW_MOUSE_RIGHT 
LE_WINDOW_MOUSE_MIDDLE 
LE_WINDOW_MOUSE_WHEEL_UP 
LE_WINDOW_MOUSE_WHEEL_DOWN