[Windows version] WindowImpl cleanup, fixes and improvements. 36/242136/3
authorGyörgy Straub <g.straub@partner.samsung.com>
Mon, 24 Aug 2020 10:33:35 +0000 (11:33 +0100)
committerGyörgy Straub <g.straub@partner.samsung.com>
Tue, 25 Aug 2020 14:17:59 +0000 (15:17 +0100)
commita20dd2f9fa9c1dd30d93820271478da73e5d639a
treee8923557c2e87df64781586bb21bf7e0a2082c8d
parent1f9b132d9942deb7cb53561d65c982378194f971
[Windows version] WindowImpl cleanup, fixes and improvements.

- renamed the wordy WindowsPlatformImplementation namespace to simply
  WindowsPlatform;
- Made the invariant windowStyle data member, and the edge width / height
  getters that depend on it, into static consts;
- WindowImpl::CreateHwnd() is now static, and no longer takes the name
  of the window class;
- The window class is only registered once, and then shared (instead of
  registering one for every window, since everything about it - except
  the name - was shared);
- The window class is unregistered once there are no windows left;
- WindowImpl unregisters itself from the event handlers when destroyed,
  or a new HWND was set;
- removed redundant static keyword from constant;
- renamed mHwndToListeners to fit the convention, and moved it into
  an anonymous namespace;

Change-Id: Ic3e6c614539cc939080bf785ffd7d2443ea1703e
Signed-off-by: György Straub <g.straub@partner.samsung.com>
dali/internal/system/windows/callback-manager-win.cpp
dali/internal/system/windows/timer-impl-win.cpp
dali/internal/system/windows/trigger-event.cpp
dali/internal/window-system/windows/platform-implement-win.cpp
dali/internal/window-system/windows/platform-implement-win.h
dali/internal/window-system/windows/window-base-win.cpp
dali/internal/window-system/windows/window-base-win.h