Commit Graph

33 Commits

Author SHA1 Message Date
Léa Saviot
8ac2c80625 [apps/settings] Reload the title bar when changing language
Before, the "Settings" title would not be immediately translated into
the new language.
2019-04-12 15:16:52 +02:00
Lionel Debroux
70a8d06cfe [apps, poincare] Optimize the preferences singletons' usage by removing superfluous checks in the setters, and performing manual CSE in the callers.
Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
2018-10-23 11:49:09 +02:00
Lionel Debroux
1a8c6b6ae9 [poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Léa Saviot
5d92f13c26 Clean strlcpy arguments 2018-10-17 11:22:37 +02:00
Romain Goyet
f8beae3b86 [kandinsky] Move to KDFont 2018-10-11 16:44:02 +02:00
Émilie Feral
48f890ef93 [poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Émilie Feral
6de71ae145 [poincare] Clean: convertFloatToText should be in PrintFloat instead of
Complex
2018-03-21 15:57:19 +01:00
Léa Saviot
ce51228ca8 [escher/code] Changed Console and TitleBar margins.
Change-Id: I8ac4d84da84e0194122f34bb6259a1a7b6a1c81e
2017-11-17 11:59:50 +01:00
Léa Saviot
98f2db900c [apps] Cleaned useless functions for updating the title bar.
Change-Id: I119d1bd29aef1be4b65a9281d21400b81f801cc6
2017-11-17 11:59:50 +01:00
mateoconlechuga
22b74892d7 Match names everywhere 2017-09-01 20:18:33 -06:00
Émilie Feral
2900b901ba [ion] Clean alpha shift event modifiers
Change-Id: I6dd667fb12c0cd3d3e90a6f98da0bd56780dcff6
2017-06-30 10:42:30 +02:00
Émilie Feral
689b5e1b48 [apps] Reload title bar when changing language
Change-Id: I1b2a7bc0a64af851f366843b8e06133e80050bc3
2017-05-10 16:30:46 +02:00
Émilie Feral
3112ec07fc [apps] Add a battery icon for "is plugged and charged"
Change-Id: I874da0d15d57706338d6638dad911fdac9cc4397
2017-05-05 10:19:05 +02:00
Émilie Feral
4f5b35a4b3 [apps] Alpha Lock icon
Change-Id: Ie5a2f4e6b3fae2e14808430e2207306cae2bd7c2
2017-04-27 13:16:57 +02:00
Émilie Feral
8038e7faba [apps] Fix typo: left->right
Change-Id: I23264def129f59bfcfe991088fbfaf2c925b23b0
2017-04-26 17:33:11 +02:00
Émilie Feral
5595a3f4c5 [apps] Improve title bar view layout
Change-Id: I67e714cc94fd100270cf5488602de1fd5cfce27e
2017-04-26 17:33:06 +02:00
Émilie Feral
e5610b2916 [apps] Add an icon when mode exam is on
Change-Id: I5b12f7857fe27d7b2db97062c17cafe7b571e303
2017-04-13 12:06:38 +02:00
Émilie Feral
ab128b73dd [apps] Return boolean when charging state or charge level has changed
(to know if the redrawing is necessary)

Change-Id: Iebb1d2ba1f188815b01bcbd6e632244f6169b3f9
2017-04-07 14:52:57 +02:00
Émilie Feral
98ee0fdcd8 [apps] Fix error
Change-Id: Iea1d12241a14454ef612515cf5631daf1162a25e
2017-03-29 11:35:30 +02:00
Émilie Feral
41259e8cbe [apps] Add an battery icon to indicate that the battery is charging
Change-Id: I26c616cc6e39f87d305b7bd0c27433e646d74b05
2017-03-28 14:49:27 +02:00
Émilie Feral
fd299df4c8 [apps] Translate deg->rad in title bar view
Change-Id: Ie88ec39177960b98d9fd1cba814ec24a40fe366f
2017-03-20 14:55:59 +01:00
Émilie Feral
adc80cd71b [apps][escher] I18n
Change-Id: I4d6f40155a8a182184af9ef2a583d0469196ffd5
2017-03-16 15:12:12 +01:00
Émilie Feral
f3b677d149 [poincare] In preference, delete choice between reel and complex
Change-Id: If3d4406ba3ff31858956b864fc947e969e56120e
2017-03-07 15:53:05 +01:00
Émilie Feral
e5e9f7cc41 [poincare][apps] Make preferences a const object accessible from
anywhere (poincare and apps)

Change-Id: I49cc6bf940d1efeb6b153daac949ffcb23999a8d
2017-02-20 09:39:24 +01:00
Émilie Feral
b79bcfb9dc [poincare] Change name DisplayMode -> FloatDisplayMode
Change-Id: I7754b4a5ac96c3f3564749749b49130ddf357e20
2017-02-17 16:35:07 +01:00
Émilie Feral
69e46f4958 [poincare] Namespace Poincare
Change-Id: I51a84fa7978ba16f128cfe1d32c390970f2037e8
2017-02-13 17:15:06 +01:00
Émilie Feral
e4d08ee685 [apps] [poincare] Merge AngleUnit enum class (previously in preference
and expression)

Change-Id: I1cf5175e724904f75ced16f947033b1e30f02eb6
2017-02-06 16:30:48 +01:00
Émilie Feral
e951140298 [poincare] Change method createLayout() to createLayout(DisplayMode)
Change-Id: Ifb1027d38b53a50a0ada80e11b68d44e72ac9099
2017-01-31 10:36:13 +01:00
Émilie Feral
7f658266c3 [poincare] [apps] Merge Display mode enum class of Float and Preferences
Change-Id: I50498ff0f12991fdd905421441eee7a477d53a4d
2017-01-30 16:11:36 +01:00
Émilie Feral
39b0bd9b66 [apps] Display the preferences in the title bar
Change-Id: Ib1defef85b68a48f667127c583901b659db1cbaf
2017-01-30 16:06:48 +01:00
Émilie Feral
ad95a693da [escher] In palette, change name: YellowOne/Two -> YellowDark/Light
Change-Id: I0eba4914f7b4f9f78d7797d47fb893bd66ece454
2017-01-27 12:03:38 +01:00
Émilie Feral
51881d841c [apps] Display the baterry icon view on the title bar
Change-Id: I3a1f2540151f7ecbfafaead346e673f694d8c0dd
2017-01-27 11:46:38 +01:00
Émilie Feral
f7f8430288 [apps] Display app title in the title bar
Change-Id: I8cd8d09359e627a0915c99c13dc445027ec361e3
2017-01-27 11:20:31 +01:00