summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-09-17 19:45:33 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-09-17 19:45:33 +0300
commitf529e9d67a8b5c6e47895ea30d0e00eb28768233 (patch)
tree8e1bb419bbfe64118e4fbc99c071e2086c77fa8c /src
parent2cff7b47486f8dcf7030626cb926d8c69ba0f655 (diff)
Mobile: About page
Diffstat (limited to 'src')
-rw-r--r--src/defs.h1
-rw-r--r--src/gmdocument.c2
-rw-r--r--src/ui/util.c6
3 files changed, 6 insertions, 3 deletions
diff --git a/src/defs.h b/src/defs.h
index edaaecde..3cb7dd2c 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -149,6 +149,7 @@ iLocalDef int acceptKeyMod_ReturnKeyBehavior(int behavior) {
149#define clipboard_Icon "\U0001f4cb" 149#define clipboard_Icon "\U0001f4cb"
150#define unhappy_Icon "\U0001f641" 150#define unhappy_Icon "\U0001f641"
151#define globe_Icon "\U0001f310" 151#define globe_Icon "\U0001f310"
152#define envelope_Icon "\U0001f4e7"
152#define magnifyingGlass_Icon "\U0001f50d" 153#define magnifyingGlass_Icon "\U0001f50d"
153#define midEllipsis_Icon "\u00b7\u00b7\u00b7" 154#define midEllipsis_Icon "\u00b7\u00b7\u00b7"
154#define return_Icon "\u23ce" 155#define return_Icon "\u23ce"
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 4e92c89c..97c7b41b 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -500,7 +500,7 @@ static void doLayout_GmDocument_(iGmDocument *d) {
500 0.0f, 0.25f, 1.0f, 0.5f, 1.5f, 0.5f, 0.5f, 0.25f 500 0.0f, 0.25f, 1.0f, 0.5f, 1.5f, 0.5f, 0.5f, 0.25f
501 }; 501 };
502 static const char *arrow = rightArrowhead_Icon; 502 static const char *arrow = rightArrowhead_Icon;
503 static const char *envelope = "\U0001f4e7"; 503 static const char *envelope = envelope_Icon;
504 static const char *bullet = "\u2022"; 504 static const char *bullet = "\u2022";
505 static const char *folder = "\U0001f4c1"; 505 static const char *folder = "\U0001f4c1";
506 static const char *globe = globe_Icon; 506 static const char *globe = globe_Icon;
diff --git a/src/ui/util.c b/src/ui/util.c
index 5420e5d2..5361250f 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -1948,13 +1948,15 @@ iWidget *makePreferences_Widget(void) {
1948 iString *aboutText = collectNew_String(); { 1948 iString *aboutText = collectNew_String(); {
1949 setCStr_String(aboutText, "Lagrange " LAGRANGE_APP_VERSION); 1949 setCStr_String(aboutText, "Lagrange " LAGRANGE_APP_VERSION);
1950 #if defined (iPlatformAppleMobile) 1950 #if defined (iPlatformAppleMobile)
1951 appendCStr_String(aboutText, " (" LAGRANGE_IOS_VERSION ") \u2014 " LAGRANGE_IOS_BUILD_DATE); 1951 appendFormat_String(aboutText, " (" LAGRANGE_IOS_VERSION ") %s" LAGRANGE_IOS_BUILD_DATE,
1952 escape_Color(uiTextDim_ColorId));
1952 #endif 1953 #endif
1953 } 1954 }
1954 const iMenuItem aboutPanelItems[] = { 1955 const iMenuItem aboutPanelItems[] = {
1955 { format_CStr("heading text:%s", cstr_String(aboutText)) }, 1956 { format_CStr("heading text:%s", cstr_String(aboutText)) },
1956 { "button text:" globe_Icon " By @jk@skyjake.fi", 0, 0, "!open url:https://skyjake.fi/@jk" },
1957 { "button text:" clock_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, 1957 { "button text:" clock_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" },
1958 { "button text:" globe_Icon " ${menu.website}", 0, 0, "!open url:https://gmi.skyjake.fi/lagrange" },
1959 { "button text:" envelope_Icon " @jk@skyjake.fi", 0, 0, "!open url:https://skyjake.fi/@jk" },
1958 { "padding" }, 1960 { "padding" },
1959 { "button text:" info_Icon " ${menu.aboutpages}", 0, 0, "!open url:about:about" }, 1961 { "button text:" info_Icon " ${menu.aboutpages}", 0, 0, "!open url:about:about" },
1960 { "button text:" bug_Icon " ${menu.debug}", 0, 0, "!open url:about:debug" }, 1962 { "button text:" bug_Icon " ${menu.debug}", 0, 0, "!open url:about:debug" },