Modify files keysym2Ucs.c, utf8Input.c, utf8Utils.c and utf8Wrap.c for the driver model.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2016-04-04 10:39:42 +00:00
parent bc11bd8d5f
commit 01ef0a6ec6
4 changed files with 8 additions and 33 deletions

View File

@ -16,11 +16,9 @@
#define KEYSYM2UCS_INCLUDED
#if defined(WIN32)
#elif defined(__APPLE__) /* PORTME: Fl_Screen_Driver - platform unicode */
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: do you want to include Xutf8.h?"
#else
#include <config.h>
#if defined(USE_X11)
#include "../Xutf8.h"
#include "imKStoUCS.c"

View File

@ -14,13 +14,10 @@
* http://www.fltk.org/str.php
*/
#if defined(WIN32)
#elif defined(__APPLE__) /* PORTME: Fl_Screen_Driver - platform unicode */
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: do you want to include Xutf8.h?"
#else
#include <config.h>
#if defined(USE_X11)
#include "../Xutf8.h"
#include <X11/X.h>
#include <X11/Xlib.h>

View File

@ -16,21 +16,11 @@
#include <config.h>
#if defined(WIN32) || defined(__APPLE__) /* PORTME: Fl_Screen_Driver - platform unicode */
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: utf8"
#else
#endif
/*
* Unicode to UTF-8 conversion functions.
*/
#if defined(WIN32)
#elif defined(__APPLE__)
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: do you want to include Xutf8.h?"
#else
#if defined(USE_X11)
#include "../Xutf8.h"

View File

@ -16,20 +16,10 @@
#include <config.h>
#if defined(WIN32) || defined(__APPLE__) /* PORTME: Fl_Screen_Driver - platform unicode */
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: utf8"
#else
#endif
/*
* X11 UTF-8 text drawing functions.
*/
#if defined(WIN32)
#elif defined(__APPLE__)
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: do you want to include Xutf8.h?"
#else
#if defined(USE_X11)
#include "../Xutf8.h"
#include <X11/Xlib.h>