mirror of
https://github.com/minetest/irrlicht.git
synced 2025-03-20 11:10:35 +01:00
Fix: CGUITabControl now catching EMIE_LMOUSE_PRESSED_DOWN
Same as most elements. Other behaviour a bit unexpected and unlikely to be useful. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6576 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
8985248142
commit
952f11f806
@ -1,6 +1,7 @@
|
|||||||
--------------------------
|
--------------------------
|
||||||
Changes in 1.9 (not yet released)
|
Changes in 1.9 (not yet released)
|
||||||
|
|
||||||
|
- Fix: CGUITabControl now catching EMIE_LMOUSE_PRESSED_DOWN
|
||||||
- Add options for transparency node sorting algorithm.
|
- Add options for transparency node sorting algorithm.
|
||||||
- CImageWriterPNG now also supports the writeImageToFile param to allow setting compressing level. 0 stays default, 1-10 for range increasing compression level.
|
- CImageWriterPNG now also supports the writeImageToFile param to allow setting compressing level. 0 stays default, 1-10 for range increasing compression level.
|
||||||
- Add io::IUserData which can be set in SMaterial to make it easer passing additional material values to shaders
|
- Add io::IUserData which can be set in SMaterial to make it easer passing additional material values to shaders
|
||||||
|
@ -448,9 +448,9 @@ bool CGUITabControl::OnEvent(const SEvent& event)
|
|||||||
case EET_MOUSE_INPUT_EVENT:
|
case EET_MOUSE_INPUT_EVENT:
|
||||||
switch(event.MouseInput.Event)
|
switch(event.MouseInput.Event)
|
||||||
{
|
{
|
||||||
//case EMIE_LMOUSE_PRESSED_DOWN:
|
case EMIE_LMOUSE_PRESSED_DOWN:
|
||||||
// // todo: dragging tabs around
|
// // todo: dragging tabs around
|
||||||
// return true;
|
return true;
|
||||||
case EMIE_LMOUSE_LEFT_UP:
|
case EMIE_LMOUSE_LEFT_UP:
|
||||||
{
|
{
|
||||||
s32 idx = getTabAt(event.MouseInput.X, event.MouseInput.Y);
|
s32 idx = getTabAt(event.MouseInput.X, event.MouseInput.Y);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user