Search found 53 matches

by liqi98136
Mon Sep 26, 2011 10:09 am
Forum: 欢迎使用中文讨论
Topic: 想做一个图像处理软件
Replies: 1
Views: 27751

想做一个图像处理软件

想做一个图像处理软件
就像ms paint xp
paint.png
by liqi98136
Mon Sep 26, 2011 2:06 am
Forum: 欢迎使用中文讨论
Topic: listbox control and button
Replies: 0
Views: 39013

listbox control and button

listbox 学习实例 import "ecere"   class Friends : struct { public: char * name; char * job; int age;   }; Array<Friends> friends { [{"Erika", "waitress", 18}, {"Thomas", "programmer", 25}, {"George", "police officer", 26}, {"Mich...
by liqi98136
Sun Sep 25, 2011 8:42 pm
Forum: 欢迎使用中文讨论
Topic: 字体的使用方法
Replies: 1
Views: 28966

字体的使用方法

方法1 利用window.font属性改变其surface.font class Form1 : Window { text = "Fonts"; background = activeBorder; ... font = { "Comic Sans MS", 10, bold = true }; ... void OnRedraw(Surface surface) { ... surface.WriteText( 50, 20, str, strlen(str)); ... 整个surface使用父字体 方法2 定义资源 FontResource fo...
by liqi98136
Sun Sep 25, 2011 8:10 pm
Forum: 欢迎使用中文讨论
Topic: 画椭圆 draw Ellipse
Replies: 0
Views: 41121

画椭圆 draw Ellipse

  import "ecere"     class Ellipse : Surface { private: Array<Point> arrayPoint; public: Point Origin; //原点 int Ra, Rb; // 椭圆弧的长轴和短轴 int nStep; // 四分之一椭圆弧要用多少段直线描述   property Point Origin { get {return Origin;} set {Origin = value;} } property int Ra { get {return Ra;} set {Ra = value;} }...
by liqi98136
Sun Sep 25, 2011 3:16 am
Forum: 欢迎使用中文讨论
Topic: 画图,图像显示有抖动,更新后才能看见
Replies: 1
Views: 27550

画图,图像显示有抖动,更新后才能看见

画图,图像显示有抖动,更新后才能看见 为什么? #define WIN32_LEAN_AND_MEAN #include <windows.h> import "ecere" class Form1 : Window { text = "Form1"; background = activeBorder; borderStyle = sizable; hasMaximize = true; hasMinimize = true; hasClose = true; size = { 576, 432 }; void OnRedraw(Surface sur...
by liqi98136
Fri Sep 02, 2011 12:52 am
Forum: 欢迎使用中文讨论
Topic: 软件推荐najitool
Replies: 0
Views: 38070

软件推荐najitool

:D ecere版本ecere version
软件介绍software introduce
http://najitool.sourceforge.net/
下载地址:download
https://nodeload.github.com/najitool/na ... all/master
by liqi98136
Sun Aug 28, 2011 9:07 am
Forum: 欢迎使用中文讨论
Topic: project documentor using tools of gettext translate en to cn
Replies: 5
Views: 44933

Re: project documentor using tools of gettext translate en t

first question is done.第一个问题已经解决
与Ecgettext eclanguage { }; 定义和执行的位置有关,要放在最前面定义和执行就可以了.成功!
:D
by liqi98136
Sun Aug 28, 2011 8:03 am
Forum: 欢迎使用中文讨论
Topic: project documentor using tools of gettext translate en to cn
Replies: 5
Views: 44933

Re: project documentor using tools of gettext translate en t

问题question
1.为什么主界面不能翻译成中文呢?
mainform cannot be translated into chinese.
2.还有就是static char * 不让替换replace
show error:initializer element is not constant
提示错误:
eC Shared Library files (*.dll, *.so, *.dylib)
不让改为not modify
_(eC Shared Library files (*.dll, *.so, *.dylib))
by liqi98136
Sun Aug 28, 2011 7:57 am
Forum: 欢迎使用中文讨论
Topic: project documentor using tools of gettext translate en to cn
Replies: 5
Views: 44933

project documentor using tools of gettext translate en to cn

project documentor using tools of gettext translate en to cn 利用gettext工具翻译项目documentor 主文件加 Documentor.ec #include <locale.h> #include <libintl.h> #include <stdlib.h> #define PACKAGE "documentor" #define LOCALEDIR "locale" #define _(STRING) gettext(STRING) .... class Ecgettext { ...