Wintermute Engine Forum

Wintermute Engine => WME Lite => Topic started by: microweb on April 23, 2012, 07:57:12 PM

Title: Slider problem
Post by: microweb on April 23, 2012, 07:57:12 PM
Hi!

I used this method:

http://www.dead-code.org/forum/index.php?board=3;action=display;threadid=215

in a "slider button".

It works with Wintermute "Standard" but it doesn´t works in WMLite: "LeftRelease" event never gets triggered.

Does anybody know why?

Thanks!

PD: Sorry for my english  :-\
Title: Re: Slider problem
Post by: Lazov on April 04, 2019, 09:20:39 PM
I encountered the same problem. WME Lite does not handle the "LeftRelease" event on Window widgets. I compared the WME Lite code with WME and found a commented out part of the code in AdGame.cpp. If uncomment, everything works.
Code: C++
  1. bool Handled = /*m_State==GAME_RUNNING &&*/ SUCCEEDED(ApplyEvent("LeftRelease"));
Maybe someone knows why this code is commented out in WME Lite?