Back to index

im-sdk  12.3.91
Defines | Functions | Variables
R6IMProtocol.cpp File Reference
#include "R6IMProtocol.hh"
#include "IMTrans.hh"
#include "CompoundString.hh"
#include "XInputContext.hh"
#include "XIC_Interface.h"
#include "Xi18n.h"

Go to the source code of this file.

Defines

#define XIC_INPUT_STYLE   1
#define XIC_CLIENT_WINDOW   2
#define XIC_FOCUS_WINDOW   3
#define XIC_FILTER_EVENTS   4
#define XIC_PREEDIT_ATTR   5
#define XIC_STATUS_ATTR   6
#define XIC_FONTSET   7
#define XIC_AREA   8
#define XIC_AREA_NEEDED   9
#define XIC_COLORMAP   10
#define XIC_STD_COLORMAP   11
#define XIC_FOREGROUND   12
#define XIC_BACKGROUND   13
#define XIC_BACKGROUND_PIXMAP   14
#define XIC_SPOTLOCATION   15
#define XIC_LINESPACE   16
#define XIC_PREEDIT_STATE   17
#define XIC_FONTNAME   18
#define XIC_CURSOR   19

Functions

int CreateXIC (XIMS ims, CARD16 connect_id, CARD16 preedit_attr_num, CARD16 status_attr_num, CARD16 ic_attr_num, XICAttribute *preedit_attr, XICAttribute *status_attr, XICAttribute *ic_attr)
char * GetICValues (int icid, CARD16 preedit_attr_num, CARD16 status_attr_num, CARD16 ic_attr_num, XICAttribute *preedit_attr, XICAttribute *status_attr, XICAttribute *ic_attr)
void FreeICAttrNames (CARD16 preedit_attr_num, CARD16 status_attr_num, CARD16 ic_attr_num, XICAttribute *preedit_attr, XICAttribute *status_attr, XICAttribute *ic_attr)
void FreeICAttrValues (CARD16 preedit_attr_num, CARD16 status_attr_num, CARD16 ic_attr_num, XICAttribute *preedit_attr, XICAttribute *status_attr, XICAttribute *ic_attr)
char * SetICValues (int icid, CARD16 preedit_attr_num, CARD16 status_attr_num, CARD16 ic_attr_num, XICAttribute *preedit_attr, XICAttribute *status_attr, XICAttribute *ic_attr)
void SetICFocus (int icid)
void UnsetICFocus (int icid)
Bool IsFocused (int icid)
void FilterEvent (int icid, XEvent *event)
void DestroyIC (int icid)
char * ResetIC (int icid)
void MoveSpot (int icid, int x, int y)
void ConversionStart (int icid)
void ConversionEnd (int icid)

Variables

IMList< XIMPublicximp_list
IMList< XInputContextxic_list
static XIMListOfAttr IMValues []
static XIMListOfAttr ICValues []
static XIMStyle my_styles []
static XIMStyle my_styles2 []

Define Documentation

#define XIC_AREA   8

Definition at line 90 of file R6IMProtocol.cpp.

#define XIC_AREA_NEEDED   9

Definition at line 91 of file R6IMProtocol.cpp.

#define XIC_BACKGROUND   13

Definition at line 95 of file R6IMProtocol.cpp.

#define XIC_BACKGROUND_PIXMAP   14

Definition at line 96 of file R6IMProtocol.cpp.

#define XIC_CLIENT_WINDOW   2

Definition at line 84 of file R6IMProtocol.cpp.

#define XIC_COLORMAP   10

Definition at line 92 of file R6IMProtocol.cpp.

#define XIC_CURSOR   19

Definition at line 101 of file R6IMProtocol.cpp.

#define XIC_FILTER_EVENTS   4

Definition at line 86 of file R6IMProtocol.cpp.

#define XIC_FOCUS_WINDOW   3

Definition at line 85 of file R6IMProtocol.cpp.

#define XIC_FONTNAME   18

Definition at line 100 of file R6IMProtocol.cpp.

#define XIC_FONTSET   7

Definition at line 89 of file R6IMProtocol.cpp.

#define XIC_FOREGROUND   12

Definition at line 94 of file R6IMProtocol.cpp.

#define XIC_INPUT_STYLE   1

Definition at line 83 of file R6IMProtocol.cpp.

#define XIC_LINESPACE   16

Definition at line 98 of file R6IMProtocol.cpp.

#define XIC_PREEDIT_ATTR   5

Definition at line 87 of file R6IMProtocol.cpp.

#define XIC_PREEDIT_STATE   17

Definition at line 99 of file R6IMProtocol.cpp.

#define XIC_SPOTLOCATION   15

Definition at line 97 of file R6IMProtocol.cpp.

#define XIC_STATUS_ATTR   6

Definition at line 88 of file R6IMProtocol.cpp.

#define XIC_STD_COLORMAP   11

Definition at line 93 of file R6IMProtocol.cpp.


Function Documentation

void ConversionEnd ( int  icid)

Definition at line 692 of file R6IMProtocol.cpp.

                               {
    XInputContext *ic =(XInputContext*)&(xic_list.getItem(icid));

    if (ic) ic->conversion_end(True);
  }

Here is the call graph for this function:

Here is the caller graph for this function:

void ConversionStart ( int  icid)

Definition at line 687 of file R6IMProtocol.cpp.

                                 {
    XInputContext *ic =(XInputContext*)&(xic_list.getItem(icid));

    if (ic) ic->conversion_start(True);
  }

Here is the call graph for this function:

Here is the caller graph for this function:

int CreateXIC ( XIMS  ims,
CARD16  connect_id,
CARD16  preedit_attr_num,
CARD16  status_attr_num,
CARD16  ic_attr_num,
XICAttribute preedit_attr,
XICAttribute status_attr,
XICAttribute ic_attr 
)

Definition at line 268 of file R6IMProtocol.cpp.

                                  {
    int id = ims->id;
    XIMPublic *ximp = &(ximp_list.getItem(id));
    char *ret = NULL;

    CARD32 input_style = 0;
    // get input_style from ic_attr
    XICAttribute *icp;
    for (icp = ic_attr; icp < &ic_attr[ic_attr_num]; icp++) {
      if (!strcmp(icp->name, XNInputStyle)) {
       input_style = (*(CARD32*)icp->value);
       break;
      }
    }
    if (input_style == 0) {
      // something is wrong
      return -1;
    }
    XInputContext *ic = new XInputContext((XIMPublic*)ximp,
                                     connect_id,
                                     input_style);
    xic_list.addItem(ic);
    int ic_id = xic_list.getIndex(ic);

    ret = SetICValues(ic_id,
                    preedit_attr_num, status_attr_num, ic_attr_num,
                    preedit_attr, status_attr, ic_attr);
    return ic_id;
  }

Here is the call graph for this function:

Here is the caller graph for this function:

void DestroyIC ( int  icid)

Definition at line 667 of file R6IMProtocol.cpp.

                           {
    XInputContext *ic =(XInputContext*)&(xic_list.getItem(icid));

    if (ic) ic->destroy();
  }

Here is the call graph for this function:

Here is the caller graph for this function:

void FilterEvent ( int  icid,
XEvent *  event 
)

Definition at line 662 of file R6IMProtocol.cpp.

                                            {
    XInputContext *ic =(XInputContext*)&(xic_list.getItem(icid));

    if (ic) ic->filter_event(event);
  }

Here is the call graph for this function:

Here is the caller graph for this function:

void FreeICAttrNames ( CARD16  preedit_attr_num,
CARD16  status_attr_num,
CARD16  ic_attr_num,
XICAttribute preedit_attr,
XICAttribute status_attr,
XICAttribute ic_attr 
)

Definition at line 496 of file R6IMProtocol.cpp.

  {
    XICAttribute *icp;
    for (icp = ic_attr; icp < &ic_attr[ic_attr_num]; icp++) {
          if(icp->name_length && icp->name) XFree(icp->name);
    }
    for (icp = preedit_attr; icp < &preedit_attr[preedit_attr_num]; icp++) {
          if(icp->name_length && icp->name) XFree(icp->name);
    }
    for (icp = status_attr; icp < &status_attr[status_attr_num]; icp++) {
          if(icp->name_length && icp->name) XFree(icp->name);
    }
  }

Here is the caller graph for this function:

void FreeICAttrValues ( CARD16  preedit_attr_num,
CARD16  status_attr_num,
CARD16  ic_attr_num,
XICAttribute preedit_attr,
XICAttribute status_attr,
XICAttribute ic_attr 
)

Definition at line 517 of file R6IMProtocol.cpp.

  {
    XICAttribute *icp;
    for (icp = ic_attr; icp < &ic_attr[ic_attr_num]; icp++) {
          if(icp->value_length && icp->value) XFree(icp->value);
    }
    for (icp = preedit_attr; icp < &preedit_attr[preedit_attr_num]; icp++) {
          if(icp->value_length && icp->value) XFree(icp->value);
    }
    for (icp = status_attr; icp < &status_attr[status_attr_num]; icp++) {
          if(icp->value_length && icp->value) XFree(icp->value);
    }
  }

Here is the caller graph for this function:

char* GetICValues ( int  icid,
CARD16  preedit_attr_num,
CARD16  status_attr_num,
CARD16  ic_attr_num,
XICAttribute preedit_attr,
XICAttribute status_attr,
XICAttribute ic_attr 
)

Definition at line 304 of file R6IMProtocol.cpp.

                                         {
    XInputContext *ic =(XInputContext*)&(xic_list.getItem(icid));
  
    // set ic_attr
    XICAttribute *icp;
    for (icp = ic_attr; icp < &ic_attr[ic_attr_num]; icp++) {
      // tcl/tk ja patch requires XNInputStyle in XGetICValues()
      if (!strcmp(icp->name, XNInputStyle)) {
       icp->value = new CARD32;
       ic->get_input_style((*(CARD32*)icp->value));
       icp->value_length = sizeof(CARD32);
      }
      if (!strcmp(icp->name, XNClientWindow)) {
       Window tmp;
       icp->value = new CARD32;
       ic->get_client_window(tmp);
       *(CARD32*)icp->value = (CARD32)tmp;
       icp->value_length = sizeof(CARD32);
      }
      else if (!strcmp(icp->name, XNFocusWindow)) {
       Window tmp;
       icp->value = new CARD32;
       ic->get_focus_window(tmp);
       *(CARD32*)icp->value = (CARD32)tmp;
       icp->value_length = sizeof(CARD32);
      }
      else if (!strcmp(icp->name, XNFilterEvents)) {
       icp->value = new CARD32;
       ic->get_fwin_select_mask((*(CARD32*)icp->value));

       /* This hack is to let gtk+ based client to filter key release event to
        * the XIM server (gnome bugzilla #81759)
        */
       if (!(*(CARD32*)icp->value & KeyReleaseMask))
         *(CARD32*)icp->value |= KeyReleaseMask;

       icp->value_length = sizeof(CARD32);
      }
      else if (!strcmp(icp->name, XNPreeditState)) {
       icp->value = new CARD32;
       (*(CARD32*)icp->value) = (ic->is_conv_state()) ?
         XIMPreeditEnable : XIMPreeditDisable;
       icp->value_length = sizeof(CARD32);
      }
    }
    // get preedit_attr
    for (icp = preedit_attr; icp < &preedit_attr[preedit_attr_num]; icp++) {
      if (!strcmp(icp->name, XNFontSet)) {
       char *ret = 0;
       ic->get_preedit_fontset(ret);
       icp->value = strdup(ret);
       icp->value_length = strlen(ret);
      }
      else if (!strcmp(icp->name, XNPreeditState)) {
       icp->value = new CARD32;
       (*(CARD32*)icp->value) = (ic->is_conv_state()) ?
         XIMPreeditEnable : XIMPreeditDisable;
       icp->value_length = sizeof(CARD32);
      }
      else if (!strcmp(icp->name, XNArea)) {
       icp->value = new XRectangle;
       long x = 0, y = 0;
       unsigned long width = 0, height = 0;
       ic->get_preedit_area(x, y, width, height);
       XRectangle rect;
       rect.x = x; rect.y = y; rect.width = width;
       rect.height = height;
       (*(XRectangle*)icp->value) = rect;
       icp->value_length = sizeof(XRectangle);
      }
      else if (!strcmp(icp->name, XNAreaNeeded)) {
       icp->value = new XRectangle;
       long x = 0, y = 0;
       unsigned long width = 0, height = 0;
       ic->get_preedit_area_needed(x, y, width, height);
       XRectangle rect;
       rect.x = x; rect.y = y; rect.width = width;
       rect.height = height;
       (*(XRectangle*)icp->value) = rect;
       icp->value_length = sizeof(XRectangle);
      }
      else if (!strcmp(icp->name, XNSpotLocation)) {
       icp->value = new XPoint;
       long x = 0, y = 0;
       ic->get_preedit_spot_location(x, y);
       XPoint point;
       point.x = x; point.y = y;
       (*(XPoint*)icp->value) = point;
       icp->value_length = sizeof(XPoint);
      }
      else if (!strcmp(icp->name, XNForeground)) {
       icp->value = new CARD32;
       ic->get_preedit_fg(*(CARD32*)icp->value);
       icp->value_length = sizeof(CARD32);
      }
      else if (!strcmp(icp->name, XNBackground)) {
       icp->value = new CARD32;
       ic->get_preedit_bg(*(CARD32*)icp->value);
       icp->value_length = sizeof(CARD32);
      }
      else if (!strcmp(icp->name, XNBackgroundPixmap)) {
       icp->value = new Pixmap;
       ic->get_preedit_bg_pixmap(*(Pixmap*)icp->value);
       icp->value_length = sizeof(Pixmap);
      }
      else if (!strcmp(icp->name, XNLineSpace)) {
       icp->value = new CARD32;
       ic->get_preedit_line_spacing(*(CARD32*)icp->value);
       icp->value_length = sizeof(CARD32);
      }
      else if (!strcmp(icp->name, XNCursor)) {
       icp->value = new Cursor;
       ic->get_preedit_cursor(*(Cursor*)icp->value);
       icp->value_length = sizeof(Cursor);
      }
      else if (!strcmp(icp->name, XNColormap)) {
       icp->value = new Colormap;
       ic->get_preedit_colormap(*(Colormap*)icp->value);
       icp->value_length = sizeof(Colormap);
      }
    }
    // get status_attr
    for (icp = status_attr; icp < &status_attr[status_attr_num]; icp++) {
      if (!strcmp(icp->name, XNFontSet)) {
       char *ret = 0;
       ic->get_status_fontset(ret);
       icp->value = strdup(ret);
       icp->value_length = strlen(ret);
      }
      else if (!strcmp(icp->name, XNArea)) {
       icp->value = new XRectangle;
       long x = 0, y = 0;
       unsigned long width = 0, height = 0;
       ic->get_status_area(x, y, width, height);
       XRectangle rect;
       rect.x = x; rect.y = y; rect.width = width;
       rect.height = height;
       (*(XRectangle*)icp->value) = rect;
       icp->value_length = sizeof(XRectangle);
      }
      else if (!strcmp(icp->name, XNAreaNeeded)) {
       icp->value = new XRectangle;
       long x = 0, y = 0;
       unsigned long width = 0, height = 0;
       ic->get_status_area_needed(x, y, width, height);
       XRectangle rect;
       rect.x = x; rect.y = y; rect.width = width;
       rect.height = height;
       (*(XRectangle*)icp->value) = rect;
       icp->value_length = sizeof(XRectangle);
      }
      else if (!strcmp(icp->name, XNForeground)) {
       icp->value = new CARD32;
       ic->get_status_fg(*(CARD32*)icp->value);
       icp->value_length = sizeof(CARD32);
      }
      else if (!strcmp(icp->name, XNBackground)) {
       icp->value = new CARD32;
       ic->get_status_bg(*(CARD32*)icp->value);
       icp->value_length = sizeof(CARD32);
      }
      else if (!strcmp(icp->name, XNBackgroundPixmap)) {
       icp->value = new Pixmap;
       ic->get_status_bg_pixmap(*(Pixmap*)icp->value);
       icp->value_length = sizeof(Pixmap);
      }
      else if (!strcmp(icp->name, XNLineSpace)) {
       icp->value = new CARD32;
       ic->get_status_line_spacing(*(CARD32*)icp->value);
       icp->value_length = sizeof(CARD32);
      }
      else if (!strcmp(icp->name, XNCursor)) {
       icp->value = new Cursor;
       ic->get_status_cursor(*(Cursor*)icp->value);
       icp->value_length = sizeof(Cursor);
      }
      else if (!strcmp(icp->name, XNColormap)) {
       icp->value = new Colormap;
       ic->get_status_colormap(*(Colormap*)icp->value);
       icp->value_length = sizeof(Colormap);
      }
    }
    return (char*)0;
  }

Here is the call graph for this function:

Here is the caller graph for this function:

Bool IsFocused ( int  icid)

Definition at line 656 of file R6IMProtocol.cpp.

                           {
    XInputContext *ic =(XInputContext*)&(xic_list.getItem(icid));

    if (ic) return ic->is_focused();
    return False;
  }

Here is the call graph for this function:

Here is the caller graph for this function:

void MoveSpot ( int  icid,
int  x,
int  y 
)

Definition at line 682 of file R6IMProtocol.cpp.

                                        {
    XInputContext *ic =(XInputContext*)&(xic_list.getItem(icid));

    if (ic) ic->set_preedit_spot_location(x, y);
  }

Here is the call graph for this function:

Here is the caller graph for this function:

char* ResetIC ( int  icid)

Definition at line 672 of file R6IMProtocol.cpp.

                          {
    XInputContext *ic =(XInputContext*)&(xic_list.getItem(icid));
    char *mb_data = 0;
    if (ic) {
      mb_data = ic->reset();
    }
    /* should reset to False */
    ic->being_reset = False;
    return mb_data;
  }

Here is the call graph for this function:

Here is the caller graph for this function:

void SetICFocus ( int  icid)

Definition at line 646 of file R6IMProtocol.cpp.

                            {
    XInputContext *ic =(XInputContext*)&(xic_list.getItem(icid));

    if (ic) ic->set_focus();
  }

Here is the call graph for this function:

Here is the caller graph for this function:

char* SetICValues ( int  icid,
CARD16  preedit_attr_num,
CARD16  status_attr_num,
CARD16  ic_attr_num,
XICAttribute preedit_attr,
XICAttribute status_attr,
XICAttribute ic_attr 
)

Definition at line 536 of file R6IMProtocol.cpp.

                                         {
    XInputContext *ic =(XInputContext*)&(xic_list.getItem(icid));
  
    // set ic_attr
    XICAttribute *icp;
    for (icp = ic_attr; icp < &ic_attr[ic_attr_num]; icp++) {
      if (!strcmp(icp->name, XNClientWindow)) {
       ic->set_client_window((*(Window*)icp->value));
      }
      else if (!strcmp(icp->name, XNFocusWindow)) {
       ic->set_focus_window((*(Window*)icp->value));
      }
      else if (!strcmp(icp->name, XNFilterEvents)) {
       ic->set_fwin_select_mask(*(CARD32*)icp->value);
      }
      else if (!strcmp(icp->name, XNPreeditState)) {
        int *state=(int*)icp->value;
       if (*state == XIMPreeditEnable) {
         ic->conversion_start(True);
       }
       if (*state == XIMPreeditDisable) {
         ic->conversion_end(True);
       }
      }
    }
    // set preedit_attr
    for (icp = preedit_attr; icp < &preedit_attr[preedit_attr_num]; icp++) {
      if (!strcmp(icp->name, XNFontSet)) {
       ic->set_preedit_fontset((char*)icp->value);
      }
      else if (!strcmp(icp->name, XNPreeditState)) {
        int *state=(int*)icp->value;
       if (*state == XIMPreeditEnable) {
         ic->conversion_start(True);
       }
       if (*state == XIMPreeditDisable) {
         ic->conversion_end(True);
       }
      }
      else if (!strcmp(icp->name, XNArea)) {
       XRectangle *rect = (XRectangle*)icp->value;
       ic->set_preedit_area(rect->x, rect->y, rect->width, rect->height);
      }
      else if (!strcmp(icp->name, XNAreaNeeded)) {
       XRectangle *rect = (XRectangle*)icp->value;
       ic->set_preedit_area_needed(rect->width, rect->height);
      }
      else if (!strcmp(icp->name, XNSpotLocation)) {
       XPoint *point = (XPoint*)icp->value;
       ic->set_preedit_spot_location(point->x, point->y);
      }
      else if (!strcmp(icp->name, XNForeground)) {
       ic->set_preedit_fg((*(CARD32*)icp->value));
      }
      else if (!strcmp(icp->name, XNBackground)) {
       ic->set_preedit_bg((*(CARD32*)icp->value));
      }
      else if (!strcmp(icp->name, XNBackgroundPixmap)) {
       ic->set_preedit_bg_pixmap((*(Pixmap*)icp->value));
      }
      else if (!strcmp(icp->name, XNLineSpace)) {
       ic->set_preedit_line_spacing((*(CARD32*)icp->value));
      }
      else if (!strcmp(icp->name, XNCursor)) {
       ic->set_preedit_cursor((*(Cursor*)icp->value));
      }
      else if (!strcmp(icp->name, XNColormap)) {
       ic->set_preedit_colormap((*(Colormap*)icp->value));
      }
    }
    // set status_attr
    for (icp = status_attr; icp < &status_attr[status_attr_num]; icp++) {
      if (!strcmp(icp->name, XNFontSet)) {
       ic->set_status_fontset((char*)icp->value);
      }
      else if (!strcmp(icp->name, XNArea)) {
       XRectangle *rect = (XRectangle*)icp->value;
       ic->set_status_area(rect->x, rect->y, rect->width, rect->height);
      }
      else if (!strcmp(icp->name, XNAreaNeeded)) {
       XRectangle *rect = (XRectangle*)icp->value;
       ic->set_status_area_needed(rect->width, rect->height);
      }
      else if (!strcmp(icp->name, XNForeground)) {
       ic->set_status_fg((*(CARD32*)icp->value));
      }
      else if (!strcmp(icp->name, XNBackground)) {
       ic->set_status_bg((*(CARD32*)icp->value));
      }
      else if (!strcmp(icp->name, XNBackgroundPixmap)) {
       ic->set_status_bg_pixmap((*(Pixmap*)icp->value));
      }
      else if (!strcmp(icp->name, XNLineSpace)) {
       ic->set_status_line_spacing((*(CARD32*)icp->value));
      }
      else if (!strcmp(icp->name, XNCursor)) {
       ic->set_status_cursor((*(Cursor*)icp->value));
      }
      else if (!strcmp(icp->name, XNColormap)) {
       ic->set_status_colormap((*(Colormap*)icp->value));
      }
    }
    return (char*)0;
  }

Here is the call graph for this function:

Here is the caller graph for this function:

void UnsetICFocus ( int  icid)

Definition at line 651 of file R6IMProtocol.cpp.

                              {
    XInputContext *ic =(XInputContext*)&(xic_list.getItem(icid));

    if (ic) ic->unset_focus();
  }

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

XIMListOfAttr ICValues[] [static]
Initial value:
 {
    {XNInputStyle, XimType_CARD32, XIC_INPUT_STYLE},
    {XNClientWindow, XimType_Window,      XIC_CLIENT_WINDOW},
    {XNFocusWindow, XimType_Window,       XIC_FOCUS_WINDOW},
    {XNFilterEvents, XimType_CARD32,      XIC_FILTER_EVENTS},
    {XNPreeditAttributes, XimType_NEST, XIC_PREEDIT_ATTR},
    {XNStatusAttributes, XimType_NEST,    XIC_STATUS_ATTR},
    {XNFontSet, XimType_XFontSet,  XIC_FONTSET},
    {XNArea, XimType_XRectangle,   XIC_AREA},
    {XNAreaNeeded, XimType_XRectangle,    XIC_AREA_NEEDED},
    {XNColormap, XimType_CARD32,   XIC_COLORMAP},
    {XNStdColormap, XimType_CARD32,       XIC_STD_COLORMAP},
    {XNForeground, XimType_CARD32, XIC_FOREGROUND},
    {XNBackground, XimType_CARD32, XIC_BACKGROUND},
    {XNBackgroundPixmap, XimType_CARD32,XIC_BACKGROUND_PIXMAP},
    {XNSpotLocation, XimType_XPoint,      XIC_SPOTLOCATION},
    {XNLineSpace, XimType_CARD32,  XIC_LINESPACE},
    {XNPreeditState, XimType_CARD32,      XIC_PREEDIT_STATE},
    {(char *)NULL, (CARD16)0, (CARD16)0}
}

Definition at line 104 of file R6IMProtocol.cpp.

XIMListOfAttr IMValues[] [static]
Initial value:
 {
    {XNQueryInputStyle, XimType_XIMStyles, 1},
    {(char *)NULL, (CARD16)0, (CARD16)0}
}

Definition at line 77 of file R6IMProtocol.cpp.

XIMStyle my_styles[] [static]
Initial value:
 {
       XIMPreeditCallbacks | XIMStatusCallbacks,
       XIMPreeditCallbacks | XIMStatusArea,
       XIMPreeditCallbacks | XIMStatusNothing,
       XIMPreeditCallbacks | XIMStatusNone,
       XIMPreeditPosition  | XIMStatusCallbacks,
       XIMPreeditPosition  | XIMStatusArea,
       XIMPreeditPosition  | XIMStatusNothing,
       XIMPreeditPosition  | XIMStatusNone,
       XIMPreeditArea           | XIMStatusCallbacks,
       XIMPreeditArea      | XIMStatusArea,
       XIMPreeditArea      | XIMStatusNothing,
       XIMPreeditArea      | XIMStatusNone,
       XIMPreeditNothing   | XIMStatusCallbacks,
       XIMPreeditNothing   | XIMStatusArea,
       XIMPreeditNothing   | XIMStatusNothing,
        XIMPreeditNothing   | XIMStatusNone,
       XIMPreeditNone           | XIMStatusCallbacks,
       XIMPreeditNone      | XIMStatusArea,
       XIMPreeditNone      | XIMStatusNothing,
       XIMPreeditNone           | XIMStatusNone
}

Definition at line 125 of file R6IMProtocol.cpp.

XIMStyle my_styles2[] [static]
Initial value:
 {
  XIMPreeditCallbacks | XIMStatusNone,
  XIMPreeditPosition  | XIMStatusNone,
  XIMPreeditArea      | XIMStatusNone,
  XIMPreeditNothing   | XIMStatusNone,
  XIMPreeditNone      | XIMStatusNone
}

Definition at line 149 of file R6IMProtocol.cpp.

Definition at line 54 of file R6IMProtocol.cpp.

Definition at line 53 of file R6IMProtocol.cpp.