インストール

プロジェクト作成

#geshi(cpp){{

#include "fx.h"

const int gWidth = 320; const int gHeight = 240;

int main(int argc, char **argc){

 FXApp application("sample", "Fox-Toolkit");
 allication.init(argc, argv);
 FXMainWindow* main = new FXMainWindow(&application, "Fox Sample",
                                       NULL, NULL, DECOR_ALL,
                                       0, 0,
                                       gWidth, gHeight);
 application.create();
 main->show(PLACEMENT_SCREEN);
 retrun application.run();

}

}}

実行結果

http://tessy.org/wiki/image/fox-sample.png

感想

参考文献


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2008-11-15 (土) 18:24:53