diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-30 11:34:45 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-30 11:34:45 +0100 |
commit | 545644f23d388467e7cd3ce7562f1ff3e7ae6c29 (patch) | |
tree | 710b5e8f39582a6336734678568dae5c820b41fc /atari/misc.c | |
parent | 03566a1182809c00b1df4060645d17315e55660f (diff) | |
download | netsurf-545644f23d388467e7cd3ce7562f1ff3e7ae6c29.tar.gz netsurf-545644f23d388467e7cd3ce7562f1ff3e7ae6c29.tar.bz2 |
update atari frontend to remove usage of depricated warn_user API
Diffstat (limited to 'atari/misc.c')
-rw-r--r-- | atari/misc.c | 21 |
1 files changed, 2 insertions, 19 deletions
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); |