Commit Graph

12 Commits

Author SHA1 Message Date
Sam Edwards b2bfb31114 general: Remove `using std::*` from headers
Also remove most `using namespace std;` statements. The only one that remains is in py_panda.h.

Closes #350
Closes #335
2018-06-14 16:04:49 +02:00
rdb 8381118a97 Assorted tweaks and compile warning fixes 2016-07-14 12:54:39 +02:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 920210c999 Fix the vast majority of Interrogate parse issues and warnings, add support for inline namespace and constexpr 2015-10-16 14:57:40 +02:00
Ed Swartz 9fdc2d82d1 Send libRocket key events before mouse events
On Linux (at least), a key event is accompanied with a mouse position
event.  If a libRocket UI is listening to e.g. "mouseover" events,
then any keypress will first appear to be a mouse movement, tripping
up code that tries to handle focus with both keyboard and mouse
support.

This change merely dispatches key events before any mouse events to
avoid this problem.
2015-08-13 11:02:51 -05:00
rdb caf986fa2a Fix uninitialized variable that would sometimes prevent mouse movement from being registered by libRocket 2015-08-10 02:48:53 +02:00
Ed Swartz 32bfe0bafc Add a few missing keys to libRocket keymap
libRocket calls some keys "OEM" which map to ASCII characters in
non-predictable places.  Since Panda3D is providing these values
to libRocket from well-known sources, it seems a lesser evil to
use the default US English mappings rather than losing the events
entirely.
2015-05-30 22:16:15 -05:00
rdb bd86907181 Fix assortment of compilation issues and annoyances 2015-02-08 23:25:11 +01:00
rdb d1e912e5e7 make multi-line textarea work 2012-03-04 21:23:41 +00:00
rdb 81513a83cd "and" and "or" keywords aren't valid C++ 2012-02-01 09:17:56 +00:00
rdb 1168011850 lots of improvements to the rocket integration 2012-01-28 11:49:41 +00:00
rdb 69fcb76b1a experimental libRocket support 2012-01-07 19:02:41 +00:00