This page is a Japanese translation of SDL-IM's web site ( http://sdl-im.csie.net/ ).
このページ は、SDL-IMのウェブサイト(http://sdl-im.csie.net/)の日本語訳です。
SDL -IM自体に関する質問は、オリジナルのサイトを確認の上、そちらによろしくお願いします。
翻訳に関する質問や、日本語での質問は、haramako <at> gmail.com までお願いします。

SDL_GetIMInfo

Name

SDL_GetIMInfo -- Get IM system information.

SDL_GetIMInfo -- IMシステムの情報を取得す る

Synopsis

#include “SDL_syswm.h”

int SDL_GetIMInfo(SDL_SysIMinfo *info);

Description

If you want to get IM system information in order to make some special effects using OnTheSpot mode in game's GUI(graphic-user-interface), you can use this function to get what you want. Notice that the structure SDL_SysIMinfo is platform-dependent, so you have to read SDL_syswm.h to know what IM information you can get.

Return 1 if successful, otherwise, return 0 when fail.

ゲー ムのUIの中で、OnTheSpotモードを利用して独 自の見た目を作成するために、IMシステムの情報を取得したい場合、この関数を利用することができます。SDL_SysIMinfoは、プラットフォーム 依存なことに注意してください。よって、どのようなIMの情報を取得できるか知るために、SDL_syswm.hを読む必要があります。

成 功した場合、1を返します。失敗した場合は、0を返します。

Examples

SDL_SysIMinfo info;

SDL_VERSION(&info.version);

SDL_GetIMInfo(&info);