mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[python] Change app name and icon
Change-Id: I0c505d08a464d63200bd5e1e0dc81825632691e5
This commit is contained in:
@@ -2,3 +2,5 @@ app_objs += $(addprefix apps/code/,\
|
||||
app.o\
|
||||
editor_controller.o\
|
||||
)
|
||||
|
||||
app_images += apps/code/code_icon.png
|
||||
|
||||
@@ -1,15 +1,20 @@
|
||||
#include "app.h"
|
||||
#include "../apps_container.h"
|
||||
#include "code_icon.h"
|
||||
#include <assert.h>
|
||||
|
||||
namespace Code {
|
||||
|
||||
I18n::Message App::Descriptor::name() {
|
||||
return I18n::Message::Matrices;
|
||||
return I18n::Message::CodeApp;
|
||||
}
|
||||
|
||||
I18n::Message App::Descriptor::upperName() {
|
||||
return I18n::Message::Matrices;
|
||||
return I18n::Message::CodeAppCapital;
|
||||
}
|
||||
|
||||
const Image * App::Descriptor::icon() {
|
||||
return ImageStore::CodeIcon;
|
||||
}
|
||||
|
||||
App * App::Snapshot::unpack(Container * container) {
|
||||
|
||||
@@ -12,7 +12,7 @@ public:
|
||||
public:
|
||||
I18n::Message name() override;
|
||||
I18n::Message upperName() override;
|
||||
//const Image * icon() override;
|
||||
const Image * icon() override;
|
||||
};
|
||||
class Snapshot : public ::App::Snapshot {
|
||||
public:
|
||||
|
||||
BIN
apps/code/code_icon.png
Normal file
BIN
apps/code/code_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
@@ -307,8 +307,10 @@ constexpr static char leftIntegralFirstLegend[] = {'P', '(', 'X', Ion::Charset::
|
||||
constexpr static char finiteIntegralLegend[] = {Ion::Charset::LessEqual, 'X', Ion::Charset::LessEqual, 0};
|
||||
|
||||
|
||||
const char * universalMessages[239] {
|
||||
const char * universalMessages[241] {
|
||||
"",
|
||||
"Python",
|
||||
"PYTHON (BETA)",
|
||||
"alpha",
|
||||
"ALPHA",
|
||||
"x",
|
||||
|
||||
@@ -263,6 +263,8 @@ namespace I18n {
|
||||
|
||||
/* UNIVERSAL MESSAGES */
|
||||
Default = 0x8000,
|
||||
CodeApp,
|
||||
CodeAppCapital,
|
||||
Alpha,
|
||||
CapitalAlpha,
|
||||
X,
|
||||
|
||||
Reference in New Issue
Block a user