Skip to content

Commit 7d70a9b

Browse files
committed
CONSOLE: added support for IMAGE command
1 parent c6c50f7 commit 7d70a9b

File tree

8 files changed

+530
-43
lines changed

8 files changed

+530
-43
lines changed

src/common/device.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ void log_printf(const char *format, ...) {
384384
}
385385

386386
#if defined(BUILD_CONSOLE)
387-
void v_create_image(var_p_t var) {}
388387
void v_create_form(var_p_t var) {}
389388
void v_create_window(var_p_t var) {}
390389
void dev_show_page() {}

src/languages/messages.en.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@
215215
#define ERR_NO_FUNC "Not a function"
216216
#define ERR_IMAGE_LOAD "Failed to load image: '%s'"
217217
#define ERR_IMAGE_SAVE "Failed to save image"
218+
#define ERR_IMAGE_SAVE_ERR "Failed to save image: '%s'"
218219
#define ERR_FORM_INPUT "Form has no inputs"
219220
#define ERR_PARAM_NUM "Incorrect number of parameters: %d. Expected %d."
220221
#define ERR_PACK_TOO_MANY "Too many values to unpack"

src/platform/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ android {
99
applicationId 'net.sourceforge.smallbasic'
1010
minSdkVersion 16
1111
targetSdkVersion 27
12-
versionCode 30
13-
versionName "0.12.14.1"
12+
versionCode 31
13+
versionName "0.12.14.2"
1414
resConfigs "en"
1515
}
1616

src/platform/console/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SmallBASIC command line version
2-
# Copyright(C) 2001-2012 Chris Warren-Smith.
2+
# Copyright(C) 2001-2018 Chris Warren-Smith.
33
#
44
# This program is distributed under the terms of the GPL v2.0 or later
55
# Download the GNU Public License (GPL) from www.gnu.org
@@ -12,6 +12,7 @@ bin_PROGRAMS = sbasic
1212
sbasic_SOURCES = \
1313
../console/main.cpp \
1414
../console/device.cpp \
15+
../console/image.cpp \
1516
../console/decomp.c
1617

1718
sbasic_LDADD = -L$(top_srcdir)/src/common -lsb_common @PACKAGE_LIBS@

0 commit comments

Comments
 (0)