src/core/linux/SDL_fcitx.h
author Sam Lantinga <slouken@libsdl.org>
Fri, 04 Jan 2019 22:01:14 -0800
changeset 12503 806492103856
parent 11811 5d94cb6b24d3
permissions -rw-r--r--
Updated copyright for 2019
slouken@10496
     1
/*
slouken@10496
     2
  Simple DirectMedia Layer
slouken@12503
     3
  Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
slouken@10496
     4
slouken@10496
     5
  This software is provided 'as-is', without any express or implied
slouken@10496
     6
  warranty.  In no event will the authors be held liable for any damages
slouken@10496
     7
  arising from the use of this software.
slouken@10496
     8
slouken@10496
     9
  Permission is granted to anyone to use this software for any purpose,
slouken@10496
    10
  including commercial applications, and to alter it and redistribute it
slouken@10496
    11
  freely, subject to the following restrictions:
slouken@10496
    12
slouken@10496
    13
  1. The origin of this software must not be misrepresented; you must not
slouken@10496
    14
     claim that you wrote the original software. If you use this software
slouken@10496
    15
     in a product, an acknowledgment in the product documentation would be
slouken@10496
    16
     appreciated but is not required.
slouken@10496
    17
  2. Altered source versions must be plainly marked as such, and must not be
slouken@10496
    18
     misrepresented as being the original software.
slouken@10496
    19
  3. This notice may not be removed or altered from any source distribution.
slouken@10496
    20
*/
slouken@10496
    21
slouken@10638
    22
#ifndef SDL_fcitx_h_
slouken@10638
    23
#define SDL_fcitx_h_
slouken@10496
    24
slouken@10496
    25
#include "../../SDL_internal.h"
slouken@10496
    26
slouken@10496
    27
#include "SDL_stdinc.h"
slouken@10496
    28
#include "SDL_rect.h"
slouken@10496
    29
slouken@10496
    30
extern SDL_bool SDL_Fcitx_Init(void);
slouken@10496
    31
extern void SDL_Fcitx_Quit(void);
slouken@10496
    32
extern void SDL_Fcitx_SetFocus(SDL_bool focused);
slouken@10496
    33
extern void SDL_Fcitx_Reset(void);
slouken@10496
    34
extern SDL_bool SDL_Fcitx_ProcessKeyEvent(Uint32 keysym, Uint32 keycode);
slouken@10496
    35
extern void SDL_Fcitx_UpdateTextRect(SDL_Rect *rect);
slouken@10721
    36
extern void SDL_Fcitx_PumpEvents(void);
slouken@10496
    37
slouken@10638
    38
#endif /* SDL_fcitx_h_ */
slouken@10496
    39
slouken@10496
    40
/* vi: set ts=4 sw=4 expandtab: */