From 545644f23d388467e7cd3ce7562f1ff3e7ae6c29 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 30 Apr 2016 11:34:45 +0100 Subject: update atari frontend to remove usage of depricated warn_user API --- atari/misc.c | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'atari/misc.c') diff --git a/atari/misc.c b/atari/misc.c index 8c940918b..8688b93fd 100644 --- a/atari/misc.c +++ b/atari/misc.c @@ -194,18 +194,6 @@ bool is_process_running(const char * name) } -/** - * Callback for load_icon(). Should be removed once bitmaps get loaded directly - * from disc - */ -static nserror load_icon_callback(hlcache_handle *handle, - const hlcache_event *event, void *pw) -{ - return NSERROR_OK; -} - - - void gem_set_cursor( MFORM_EX * cursor ) { static unsigned char flags = 255; @@ -221,13 +209,8 @@ void gem_set_cursor( MFORM_EX * cursor ) flags = cursor->flags; } -/** - * Convert NKC (atari normalized key code) to netsurf - * Input key code and/or to ucs4 (depends on keycode). - * When the input key can not be found for the NKC, - * the function will return 0 and fill ucs4_out with - * the NKC converted to UC4 encoding. -*/ + +/* exported interface documented in atari/misc.h */ long nkc_to_input_key(short nkc, long * ucs4_out) { unsigned char ascii = (nkc & 0xFF); -- cgit v1.2.3