diff options
author | Sami Merila <sami.merila@nokia.com> | 2009-12-15 11:09:09 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2009-12-15 11:09:09 (GMT) |
commit | a0ce8bba1aae7c1aaf189b83bfe83eb6b80bf0bf (patch) | |
tree | 9cc4bdf56e4c438384d54cb73a9dedf1af3b375c /util/s60pixelmetrics/pm_mapper.hrh | |
parent | 2c6749c38a2538639de86355856414b0d21317cf (diff) | |
download | Qt-a0ce8bba1aae7c1aaf189b83bfe83eb6b80bf0bf.zip Qt-a0ce8bba1aae7c1aaf189b83bfe83eb6b80bf0bf.tar.gz Qt-a0ce8bba1aae7c1aaf189b83bfe83eb6b80bf0bf.tar.bz2 |
QS60Style: Remove layouts with mirrored information
Currently QS60Style stores pixel metrics values (96 of them for each
layout) in a static lookup table. There is one "line" for each
screensize, orientation and layout direction (ten in total).
This fix removes the layout direction specific "lines" as there are
only two pixel metrics values that differ depending on direction.
We can handle those two inside QS60Style::pixelMetrics() and
thus remove half of the rows, and thus gain 16*96*5 ~ 8kB of RAM.
Task-number: QTBUG-6803
Reviewed-by: Alessandro Portale
Diffstat (limited to 'util/s60pixelmetrics/pm_mapper.hrh')
-rw-r--r-- | util/s60pixelmetrics/pm_mapper.hrh | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/util/s60pixelmetrics/pm_mapper.hrh b/util/s60pixelmetrics/pm_mapper.hrh index 4822654..f46a963 100644 --- a/util/s60pixelmetrics/pm_mapper.hrh +++ b/util/s60pixelmetrics/pm_mapper.hrh @@ -55,16 +55,9 @@ enum { ECmdStartCalculations = 8500, ECmdSwitchOrientation, - ECmdSwitchMirroring, ECmdStatus, ECmdSwitchOutput, - ECmdCreateHeaderFile, - ECmdSetAutoMode - }; - -enum - { - EWaitNote = 9000 + ECmdCreateHeaderFile }; #endif // PMMAPPER_HRH |