Merge branch '2.3' into 3djc/TX16s-2.3
# Conflicts: # radio/src/translations/es.h.txt
This commit is contained in:
@@ -45,7 +45,7 @@ class Layout2x1: public Layout
|
||||
|
||||
virtual unsigned int getZonesCount() const
|
||||
{
|
||||
return 4;
|
||||
return 2;
|
||||
}
|
||||
|
||||
virtual Zone getZone(unsigned int index) const
|
||||
|
||||
@@ -49,24 +49,24 @@ uint8_t getMappedChar(uint8_t c)
|
||||
result = 127 + c - 0x80;
|
||||
}
|
||||
#elif defined(TRANSLATIONS_ES)
|
||||
else if (c >= 0x80 && c <= 0x81) {
|
||||
else if (c >= 0x80 && c <= 0x80+12) {
|
||||
result = 157 + c - 0x80;
|
||||
}
|
||||
#elif defined(TRANSLATIONS_FI) || defined(TRANSLATIONS_SE)
|
||||
else if (c >= 0x80 && c <= 0x85) {
|
||||
result = 159 + c - 0x80;
|
||||
result = 169 + c - 0x80;
|
||||
}
|
||||
#elif defined(TRANSLATIONS_IT)
|
||||
else if (c >= 0x80 && c <= 0x81) {
|
||||
result = 165 + c - 0x80;
|
||||
result = 175 + c - 0x80;
|
||||
}
|
||||
#elif defined(TRANSLATIONS_PL)
|
||||
else if (c >= 0x80 && c <= 0x80+17) {
|
||||
result = 167 + c - 0x80;
|
||||
result = 177 + c - 0x80;
|
||||
}
|
||||
#elif defined(TRANSLATIONS_PT)
|
||||
else if (c >= 0x80 && c <= 0x80+21) {
|
||||
result = 185 + c - 0x80;
|
||||
result = 195 + c - 0x80;
|
||||
}
|
||||
#endif
|
||||
else if (c < 0xC0)
|
||||
|
||||
@@ -346,7 +346,7 @@ bool menuWidgetsSetup(event_t event)
|
||||
|
||||
currentScreen->refresh();
|
||||
|
||||
for (int i=currentContainer->getZonesCount()-1; i>=0; i--) {
|
||||
for (int i = currentContainer->getZonesCount() - 1; i >= 0; i--) {
|
||||
Zone zone = currentContainer->getZone(i);
|
||||
LcdFlags color;
|
||||
int padding, thickness;
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "opentx.h"
|
||||
|
||||
void drawStringWithIndex(coord_t x, coord_t y, const char * str, int idx, LcdFlags flags, const char * prefix, const char * suffix)
|
||||
|
||||
Reference in New Issue
Block a user