From 15ecd45a76397fbcb27e2ec58eaf155c0f201acd Mon Sep 17 00:00:00 2001 From: Quentin Date: Wed, 1 Apr 2020 12:14:06 +0200 Subject: [PATCH] [Fix] Compilation error --- README.md | 2 +- apps/code/catalog.hu.i18n | 11 +++++++++ escher/include/escher/palette.h | 44 --------------------------------- themes | 2 +- 4 files changed, 13 insertions(+), 46 deletions(-) delete mode 100644 escher/include/escher/palette.h diff --git a/README.md b/README.md index cda92277c..87b5f20bf 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Omega is a fork of Numworks' Epsilon, the OS that runs on their calculator, whic - An app for RPN - A periodic table app + all of the molar masses for the elements in the toolbox - More steps for brightness (16 instead of 5) -- 32 KB Python heap instead of 16 KB +- ~~32 KB Python heap instead of 16 KB~~ Now available on Epsilon `>=13.2.0`! - And more... The main new features are listed [here](https://github.com/Omega-Numworks/Omega/wiki/Main-features), and the complete changelog can be found [here](https://github.com/quentinguidee/Omega/wiki/Complete-changelog). diff --git a/apps/code/catalog.hu.i18n b/apps/code/catalog.hu.i18n index 3ff4d4663..e81f1a746 100644 --- a/apps/code/catalog.hu.i18n +++ b/apps/code/catalog.hu.i18n @@ -13,11 +13,14 @@ PythonAbs = "Abszolút érték / nagyság" PythonAcos = "Arc koszinusz" PythonAcosh = "Íves hiperbolikus koszinusz" PythonAppend = "x hozzáadása a lista végéhez" +PythonArrow = "Arrow from (x,y) to (x+dx,y+dy)" PythonAsin = "Arc szinusz" PythonAsinh = "Íves hiperbolikus szinusz" PythonAtan = "Arc érintö" PythonAtan2 = "Visszatérés atan (y / x)" PythonAtanh = "Arc hiperbolikus érintö" +PythonAxis = "Set axes to (xmin,xmax,ymin,ymax)" +PythonBar = "Draw a bar plot with x values" PythonBin = "Egész szám konvertálása binárisra" PythonCeil = "Mennyezet" PythonChoice = "Véletlenszerü szám a listában" @@ -46,12 +49,15 @@ PythonFrExp = "Mantissa és az x exponense" PythonGamma = "Gamma funkció" PythonGetPixel = "Visszatérési pixel (x, y) szín" PythonGetrandbits = "Egész szám k véletlen bittel" +PythonGrid = "Toggle the visibility of the grid" PythonHex = "Egész szám konvertálása hexadecimálisra" +PythonHist = "Draw the histogram of x" PythonImportCmath = "cmath modul importálása" PythonImportIon = "Ion modul importálása" PythonImportKandinsky = "Kandinsky modul importálása" PythonImportRandom = "Véletlenszerü modul importálása" PythonImportMath = "Import matematikai modul" +PythonImportMatplotlibPyplot = "Import matplotlib.pyplot module" PythonImportTime = "Idömodul importálása" PythonImportTurtle = "Import teknös modul" PythonIndex = "Az elsö x esemény indexe" @@ -117,12 +123,14 @@ PythonLog = "Logaritmus az alap" PythonLog10 = "Logaritmus az alaphoz 10" PythonLog2 = "Logaritmus az alaphoz 2" PythonMathFunction = "matematikai modul funkció elötag" +PythonMatplotlibPyplotFunction = "matplotlib.pyplot module prefix" PythonMax = "Maximum" PythonMin = "Minimum" PythonModf = "Az x tört és egész részei" PythonMonotonic = "A monoton óra értéke" PythonOct = "Egész szám konvertálása oktális értékre" PythonPhase = "z fázis" +PythonPlot = "Plot y versus x as lines" PythonPolar = "z poláris koordinátákban" PythonPop = "Az utolsó elem eltávolítása és visszaküldése" PythonPower = "x emelve az y teljesítményre" @@ -138,8 +146,10 @@ PythonRect = "z derékszögü koordinátákban" PythonRemove = "Távolítsa el az x elsö elöfordulását" PythonReverse = "A lista elemeinek megfordítása" PythonRound = "N számjegyre kerekítve" +PythonScatter = "Draw a scatter plot of y versus x" PythonSeed = "Inicializálja a véletlenszám-generátort" PythonSetPixel = "Színes pixel (x, y)" +PythonShow = "Display the figure" PythonSin = "Sine" PythonSinh = "Hiperbolikus szinusz" PythonSleep = "A végrehajtás felfüggesztése t másodpercre" @@ -148,6 +158,7 @@ PythonSqrt = "Négyzetgyök" PythonSum = "Összegzi a lista elemeit" PythonTan = "Érintö" PythonTanh = "Hiperbolikus érintö" +PythonText = "Display a text at (x,y) coordinates" PythonTimeFunction = "idömodul funkció elötag" PythonTrunc = "x egészre csonkítva" PythonTurtleBackward = "Visszalépés x pixelrel" diff --git a/escher/include/escher/palette.h b/escher/include/escher/palette.h deleted file mode 100644 index 0ebc550a7..000000000 --- a/escher/include/escher/palette.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef ESCHER_PALETTE_H -#define ESCHER_PALETTE_H - -#include -#include - -class Palette { -public: - constexpr static KDColor YellowDark = KDColor::RGB24(0xffb734); - constexpr static KDColor YellowLight = KDColor::RGB24(0xffcc7b); - constexpr static KDColor PurpleBright = KDColor::RGB24(0x656975); - constexpr static KDColor PurpleDark = KDColor::RGB24(0x414147); - constexpr static KDColor GreyWhite = KDColor::RGB24(0xf5f5f5); - constexpr static KDColor GreyBright = KDColor::RGB24(0xececec); - constexpr static KDColor GreyMiddle = KDColor::RGB24(0xd9d9d9); - constexpr static KDColor GreyDark = KDColor::RGB24(0xa7a7a7); - constexpr static KDColor GreyVeryDark = KDColor::RGB24(0x8c8c8c); - constexpr static KDColor Select = KDColor::RGB24(0xd4d7e0); - constexpr static KDColor SelectDark = KDColor::RGB24(0xb0b8d8); - constexpr static KDColor WallScreen = KDColor::RGB24(0xf7f9fa); - constexpr static KDColor WallScreenDark = KDColor::RGB24(0xe0e6ed); - constexpr static KDColor SubTab = KDColor::RGB24(0xb8bbc5); - constexpr static KDColor LowBattery = KDColor::RGB24(0xf30211); - constexpr static KDColor Red = KDColor::RGB24(0xff000c); - constexpr static KDColor RedLight = KDColor::RGB24(0xfe6363); - constexpr static KDColor Magenta = KDColor::RGB24(0xff0588); - constexpr static KDColor Turquoise = KDColor::RGB24(0x60c1ec); - constexpr static KDColor Pink = KDColor::RGB24(0xffabb6); - constexpr static KDColor Blue = KDColor::RGB24(0x5075f2); - constexpr static KDColor BlueLight = KDColor::RGB24(0x718fee); - constexpr static KDColor Orange = KDColor::RGB24(0xfe871f); - constexpr static KDColor Green = KDColor::RGB24(0x50c102); - constexpr static KDColor GreenLight = KDColor::RGB24(0x52db8f); - constexpr static KDColor Brown = KDColor::RGB24(0x8d7350); - constexpr static KDColor Purple = KDColor::RGB24(0x6e2d79); - constexpr static KDColor DataColor[] = {Red, Blue, Green, YellowDark, Magenta, Turquoise, Pink, Orange}; - constexpr static KDColor DataColorLight[] = {RedLight, BlueLight, GreenLight, YellowLight}; - - constexpr static size_t numberOfDataColors() { return sizeof(DataColor)/sizeof(KDColor); } - constexpr static size_t numberOfLightDataColors() { return sizeof(DataColorLight)/sizeof(KDColor); } - static KDColor nextDataColor(int * colorIndex); -}; - -#endif diff --git a/themes b/themes index 9e1688dcb..1940ed060 160000 --- a/themes +++ b/themes @@ -1 +1 @@ -Subproject commit 9e1688dcbe31116a30861492f57967abb3bdc8a9 +Subproject commit 1940ed060dbe233e3682e879b7f4ee4c7ca04aa8