0a3897f60a
Refactor cmake file so the main part of the code is a lib.
2016-11-11 21:18:39 +01:00
5e76b49cae
Use the deferred virtual call mechanism to avoid the virtual
...
call bug in the constructor.
See docs/wrong_virtual_call.md for a description.
2016-11-10 23:19:55 +01:00
72bfb64795
NotifyResChanged() should not be virtual itself.
...
Make an OnResChanged() virtual method instead.
2016-11-09 23:35:19 +01:00
b4ddfa8f4f
Fix for a crash occurring when the window is resized.
...
Temporary Platform objects were registering themselves.
The move ctor would then initialize the final object in
the circular buffer (see PlatformSystem), but it would
leave the address of the temporary object registered in
the ObserversManager.
2014-07-06 02:21:25 +02:00
0c8e9b2d7c
Typo fix.
2014-07-05 22:46:09 +02:00
b21fe20459
Buildfix
2014-03-28 10:51:48 +01:00
2a4ae78374
Move semantics in SizeNotifiable.
2014-03-26 23:00:02 +01:00
4d9190b0db
Swapping support added to SizeNotifiable.
2014-03-26 10:42:43 +01:00
d0a052ddb2
Refactoring in SizeNotifiable.
...
Class is a template now and accepts a registraton policy.
2014-03-20 20:21:59 +01:00
dbf29f13d1
Use the new notifiable system to scale the character.
2014-03-20 12:39:39 +01:00
f0a38a2f8a
Adding new files to register objects that require to be notified when resolution changes.
...
Also added a structure that holds the resolution and the current scaling ratio.
2014-03-20 12:39:39 +01:00