1 /*************************************************************************** 2 * Copyright (C) 2011~2012 by CSSlayer * 3 * yuking_net@sohu.com * 4 * * 5 * This program is free software; you can redistribute it and/or modify * 6 * it under the terms of the GNU General Public License as published by * 7 * the Free Software Foundation; either version 2 of the License, or * 8 * (at your option) any later version. * 9 * * 10 * This program is distributed in the hope that it will be useful, * 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 13 * GNU General Public License for more details. * 14 * * 15 * You should have received a copy of the GNU General Public License * 16 * along with this program; if not, write to the * 17 * Free Software Foundation, Inc., * 18 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * 19 ***************************************************************************/ 20 /** 21 * @file ui-internal.h 22 * 23 * Private Header for UI 24 * 25 */ 26 27 #ifndef _FCITX_UI_INTERNAL_H_ 28 #define _FCITX_UI_INTERNAL_H_ 29 30 #include "fcitx-config/fcitx-config.h" 31 #include "fcitx/instance.h" 32 33 /** 34 * real input window updates, will trigger user interface module to redraw 35 * 36 * @param instance fcitx instance 37 * @return void 38 **/ 39 void FcitxUIUpdateInputWindowReal(FcitxInstance *instance); 40 /** 41 * real move input window, will trigger user interface module to move 42 * 43 * @param instance fcitx instance 44 * @return void 45 **/ 46 void FcitxUIMoveInputWindowReal(FcitxInstance *instance); 47 48 /** 49 * @brief Get string without MSG_DONOT_COMMIT_WHEN_UNFOCUS 50 * 51 * @param messages message 52 * @return return string 53 * 54 * @see MSG_DONOT_COMMIT_WHEN_UNFOCUS 55 **/ 56 char* FcitxUIMessagesToCStringForCommit(FcitxMessages* messages); 57 58 #endif 59