rachytski
89ff0a1b92
DrawRule order optimization.
2015-09-22 15:16:50 -07:00
rachytski
d5eb80aefc
ctime() returns string with the trailing "newline" symbol. removed it.
2015-09-22 15:16:49 -07:00
rachytski
8fa6b56fff
correct handling of pathOffset and penInfo.m_offset parameters in drawPath() function.
2015-09-22 15:16:48 -07:00
rachytski
c113fe9b32
replaced TextPos with yg::EPosition.
2015-09-22 15:16:48 -07:00
rachytski
f605febe69
saving all benchmark results from the same application run with the same startTime tag.
2015-09-22 15:16:47 -07:00
Alex Zolotarev
c4cbac493f
Removed Platform::TimeString() and replaced with ctime()
2015-09-22 15:16:47 -07:00
rachytski
a15b78f547
implemented runtime opengl functionality checking.
2015-09-22 15:16:35 -07:00
rachytski
179db664d0
using application start time as one of the benchmark statistics key.
2015-09-22 15:16:34 -07:00
rachytski
df21480fb7
compilation fixes.
2015-09-22 15:16:32 -07:00
rachytski
132f7aa288
refactored benchmarks support.
2015-09-22 15:16:31 -07:00
Alex Zolotarev
c2e6ae1ed3
[win] Fixed compilation errors
2015-09-22 15:16:24 -07:00
Alex Zolotarev
07d4db8e95
Warning fixes
2015-09-22 15:16:15 -07:00
Alex Zolotarev
1bfcb8df5c
Finished location refactoring
2015-09-22 15:16:14 -07:00
Alex Zolotarev
1c20e772a0
Refactored gps location system:
...
- Moved all code to crossplatform framework
- OS-dependent location services are implemented in platform
- Added my position button to desktops
2015-09-22 15:16:12 -07:00
rachytski
37ced5a920
font parameters are taken out of all text functions into separate FontDesc structure.
2015-09-22 15:16:10 -07:00
Yury Melnichek
492b7a133b
Disable empty data message on all OSes except iOS.
2015-09-22 15:16:04 -07:00
Yury Melnichek
99fc5e7b23
Fix warning: unused variable.
2015-09-22 15:16:03 -07:00
rachytski
8df0914287
rendering text with alignment.
2015-09-22 15:16:03 -07:00
Alex Zolotarev
9f5f2d9eb0
[mingw] Compilation fixes
2015-09-22 15:16:00 -07:00
Yury Melnichek
fb4ac86d89
Disable heading in addition to position in Framework::StopLocator().
2015-09-22 15:15:57 -07:00
Yury Melnichek
74bd85865e
Make GPS circle rendering faster: remove outline.
2015-09-22 15:15:57 -07:00
Yury Melnichek
0cd9cca6de
Add logging of different loading stages.
2015-09-22 15:15:56 -07:00
rachytski
c87ed94fbc
fixed Locator logic. made location services switchable.
2015-09-22 15:15:51 -07:00
Alex Zolotarev
b2f0ad97df
[ios] Added country rect centering to downloader
2015-09-22 15:15:34 -07:00
rachytski
4afc99e450
fixed timer issues when updating to first "fresh" location.
2015-09-22 15:15:17 -07:00
rachytski
8bf41c7d83
better ScaleImpl implementation to allow scaling on world borders.
2015-09-22 15:15:08 -07:00
rachytski
dcab3decb7
closes #176 : "empty model" message is left after dragging into the actual data.
2015-09-22 15:14:50 -07:00
rachytski
dfc991a118
AdjustToBounds fixes.
2015-09-22 15:14:49 -07:00
rachytski
a9793e0417
function extraction refactoring for AdjustToBounds method for limiting ScreenBase to the world bounds.
2015-09-22 15:14:47 -07:00
rachytski
7466718420
changed background color to "sandy".
2015-09-22 15:14:47 -07:00
rachytski
5508665f13
* implemented runtime choice of renderTarget format.
...
* fixed parasite "empty model" message at start.
2015-09-22 15:14:39 -07:00
Yury Melnichek
046f116e70
Fix typo in the text when there is no geo data to display.
2015-09-22 15:14:38 -07:00
rachytski
454c6d0afe
better empty model message rendering.
2015-09-22 15:14:35 -07:00
rachytski
f4a6f3e31f
detecting empty model and displaying information message accordingly.
2015-09-22 15:14:35 -07:00
rachytski
b7942c0c9c
CheckBorders fixes. #closes 168
2015-09-22 15:14:34 -07:00
rachytski
7080ee4e0b
minor visual fixes of ruler width and center point representation.
2015-09-22 15:14:34 -07:00
rachytski
a56ff36a47
CheckBorders implementation.
2015-09-22 15:14:33 -07:00
rachytski
d928212364
removed scaling out when recieving location in "precise" mode.
2015-09-22 15:14:33 -07:00
rachytski
312ed975fb
crash on desktop when locator is not present.
2015-09-22 15:14:30 -07:00
rachytski
bed5d686b9
* CenterAndScaleViewport on first "good" position in Locator::PreciseMode.
...
* "Locked" scaling to screen center in Locator::PreciseMode.
* Delayed color change of the position mark on the first "good" position in Locator::PreciseMode.
2015-09-22 15:14:30 -07:00
rachytski
49c76e2a4d
refactored Location services.
2015-09-22 15:14:29 -07:00
rachytski
7559dd7e54
prettier center point coordinates rendering.
2015-09-22 15:14:29 -07:00
Yury Melnichek
f3ae74243b
Better alpha value and drawing order for heading.
2015-09-22 15:14:27 -07:00
rachytski
3725a08d4b
implemented CenterAndScaleViewport. renamed confidenceRadius to errorRadius for clarity.
2015-09-22 15:14:26 -07:00
rachytski
b3c559d728
removed commented code. renamed CenterViewport to CenterAndScaleViewport.
2015-09-22 15:14:25 -07:00
rachytski
9e024cb788
transparent background rect for screen center coordinates.
2015-09-22 15:14:25 -07:00
rachytski
7ac446d890
drawing center point coords in the lower right corner.
2015-09-22 15:14:24 -07:00
Alex Zolotarev
7c78d734b7
[Qt] Build fix
2015-09-22 15:14:12 -07:00
vng
3d208531a7
Some minor fixes.
2015-09-22 15:14:11 -07:00
rachytski
c7bd270ac3
Updating screen on AddMap, RemoveMap(only when map's bound rect lies inside the current viewport).
2015-09-22 15:14:10 -07:00