Skip to content

Commit

Permalink
About screen changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shinovon committed May 24, 2023
1 parent bb17952 commit 5c0df7f
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions src/mahomaps/screens/AboutScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@ public AboutScreen() {
setCommandListener(this);
addCommand(back);
try {
ImageItem i = new ImageItem(null, Image.createImage("/icon.png"),
Item.LAYOUT_NEWLINE_AFTER | Item.LAYOUT_LEFT, "logo");
ImageItem i = new ImageItem(null, MahoMapsApp.GetCanvas().getWidth() > 300 ? Image.createImage("/splash.png") : Image.createImage("/icon.png"),
Item.LAYOUT_NEWLINE_AFTER | Item.LAYOUT_CENTER, "logo");
append(i);
} catch (IOException e) {
}
StringItem s;
append(s = new StringItem("MahoMaps", "J2ME клиент растровых Яндекс.Карт.\nВерсия 1." + MahoMapsApp.version));
StringItem s = new StringItem("MahoMaps", "J2ME клиент растровых Яндекс.Карт.\nВерсия 1." + MahoMapsApp.version);
s.setLayout(Item.LAYOUT_LEFT);
append(s);
if(MahoMapsApp.platform != null && MahoMapsApp.platform.indexOf("S60") != -1 && MahoMapsApp.platform.indexOf("platform_version=3.2") == -1) {
// фокус на начало экрана
try {
Expand Down Expand Up @@ -65,7 +66,15 @@ public AboutScreen() {
gh.setDefaultCommand(openLink);
gh.setItemCommandListener(this);
append(gh);
append(new StringItem("Послесловие", "Powered by butthurt from nnchat\n292 labs (tm)"));
try {
ImageItem i = new ImageItem(null, Image.createImage("/stick.png"),
Item.LAYOUT_NEWLINE_BEFORE | Item.LAYOUT_NEWLINE_AFTER | Item.LAYOUT_CENTER, "торшер");
append(i);
} catch (IOException e) {
}
s = new StringItem("Послесловие", "Powered by butthurt from nnchat\n292 labs (tm)");
s.setLayout(Item.LAYOUT_LEFT);
append(s);
append(new StringItem("Реклама", "Гитхаб Анселя:\ngithub.com/Feodor0090\n"
+ "Канал Анселя:\nt.me/sym_ansel_blog\n"
+ "Борда rehdzi:\nnnchan.ru\n"
Expand Down

0 comments on commit 5c0df7f

Please sign in to comment.