mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
.developing fb backend
git-svn-id: svn://ultimatepp.org/upp/trunk@3569 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
1b438f125c
commit
e62c75e1d2
3 changed files with 7 additions and 4 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
NAMESPACE_UPP
|
||||
|
||||
#define LLOG(x) DLOG(x)
|
||||
#define LLOG(x) // DLOG(x)
|
||||
#define LTIMING(x) // TIMING(x)
|
||||
|
||||
bool Ctrl::globalbackpaint;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
NAMESPACE_UPP
|
||||
|
||||
#define LLOG(x) // DLOG(x)
|
||||
#define LLOG(x) // DLOG(x)
|
||||
|
||||
Ptr<Ctrl> Ctrl::eventCtrl;
|
||||
Ptr<Ctrl> Ctrl::mouseCtrl;
|
||||
|
|
|
|||
|
|
@ -234,8 +234,11 @@ LRESULT Ctrl::WindowProc(UINT message, WPARAM wParam, LPARAM lParam) {
|
|||
EndIgnore();
|
||||
return 0L;
|
||||
}
|
||||
if(_this)
|
||||
DoMouse(MOUSEWHEEL, Point((dword)lParam), (short)HIWORD(wParam));
|
||||
if(_this) {
|
||||
Point p(0, 0);
|
||||
::ClientToScreen(hwnd, p);
|
||||
DoMouse(MOUSEWHEEL, Point((dword)lParam) - p, (short)HIWORD(wParam));
|
||||
}
|
||||
if(_this) PostInput();
|
||||
return 0L;
|
||||
case WM_SETCURSOR:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue