1 Star 1 Fork 0

fy / a5ime

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Zlib

A5IME

IME support for Allegro 5.

Only works on windows.

Now it's very simple.

I'll add more features in the future.

中文用户直接往这看。

这里是 Allegro 5 的中文输入支持,大概也可以扩大范围到中日韩三国输入吧,只适用于 Windows。

目前在 Win8 + VC2012 + A5 5.1.8 上进行了测试,很不幸的,只能支持微软拼音。

搜狗大概是比较奇葩,它不会触发任何IME消息,我十分的想不明白。

总之,先做出来。如果有同学知道怎么回事欢迎与我联系或者fork。

不过大概国内没什么人用 Allegro 吧,而我用它的原因可能单纯是不喜欢 SDL,后来知道 MUGEN 也是基于它的。

反正希望有人能用到。

How to use:

  1. Add a5ime.h and a5ime.cpp to your project.
  2. Call a5ime_enable after display created.
  3. Do something with ALLEGRO_EVENT_IME_KEY_CHAR.

怎么用:

  1. 把 a5ime.h 和 a5ime.cpp 加进项目
  2. display创建好之后调用 a5ime_enable(...)
  3. 处理 ALLEGRO_EVENT_IME_KEY_CHAR 事件
Copyright (C) 2014 fy This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution.

简介

为Allegro5提供IME/CJK支持 展开 收起
C++
Zlib
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C++
1
https://gitee.com/fy0/a5ime.git
git@gitee.com:fy0/a5ime.git
fy0
a5ime
a5ime
master

搜索帮助