网站被黑,重新建站,有些链接可能无效了。

网站被黑,重新建站,有些链接可能无效了。

Posted in Uncategorized | 4 Comments

Windows版FTK UI Designer下载地址:

Windows版FTK UI Designer下载地址:[download id="7"]

Posted in FTK(嵌入式GUI) | 3 Comments

嵌入式GUI FTK 界面设计器

  • UI Designer是一个普通FTK应用程序

FTK UI 设计器是一个普通的FTK应用程序,可以从桌面的应用程序列表中进入:
ftk

  • 主菜单(F2打开菜单)

新建:创建一个新窗口。

打开:打开一个存在的xul文件。

保存:保存设计结果到一个xul文件,同时产生C代码。

帮助:显示帮助信息。

退出:退出应用程序(不保存结果)。
ftk

  • 设计界面

Insert键:可以放入新控件。

Delete键:选择的控件。

F5键:弹出上下文菜单。

按下AltShift + 方向键:调整选中控件的大小。

按下Ctrl + 方向键:调整选中控件的位置小。

ftk

 

  • 上下文菜单

在上下文菜单中可以插入控件,复制控件,删除控件和设置控件的属性。

ftk

 

  • 控件通用属性编辑

可以设置控件的基本属性,如ID,位置,大小和文本。

ftk

 

  • 控件专用属性编辑

TODO: ListView/IconView/Tab/ComboBox等控件的专用属性,暂时还没有实现。

 

 

Posted in FTK(嵌入式GUI) | 1 Comment

新开微博:http://weibo.com/i/2352470455 欢迎交流。

新开微博:http://weibo.com/i/2352470455 欢迎交流。

Posted in 沉思录 | Leave a comment

ftk的python binding

pyftk是ftk的python binding,项目地址位于https://github.com/htbegin/pyftk.

* pyftk的版本号与ftk的版本号保持一致,现在是v0.6。
* pyftk现在支持Linux,对Windows的支持没有测试过。
* pyftk使用python的ctypes模块实现,而不是使用c来实现扩展。
* pyftk提供的结构与ftk提供的接口是一样的,不是面向对象式的接口。

更多信息请参见https://github.com/htbegin/pyftk/blob/v0.6/script_binding/python/README.

辛苦HotForest兄了:)

Posted in FTK(嵌入式GUI) | 3 Comments

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Posted in Uncategorized | 1 Comment

嵌入式GUI RT-THREAD/FTK-0.6发布

嵌入式GUI RT-THREAD/FTK 0.6 Release Notes

o add tab widget
o add file browser widget
o add opengles backend
o port to android
o port to rt-thread
o port to wince
o port to iphone
o more documation.
o multi font size supported.
o re-implement window animation.
o performace and memory optimization.
o use gb2312 font to replace unicode fnt.
o use google pinyin as default input method.
o re-create vs2008 project, and port desktop to windows.
o re-implement default font to minimized the memory size.
o change font_canvas to interface, so it can be optimized on different platform.

特别感谢下面的朋友:

bernard bernard.xiong at gmail.com
何海强 ngwsx2008 at 126.com
richardhahaha biometric.cn at gmail.com
Lin Shao qiuyiuestc at gmail.com
焦进星 jiaojinxing1987 at gmail.com
廖耿耿 liaoggnihao at gmail.com
yapo woodysu at gmail.com
davy lee greatolee at gmail.com
zhou min dcdcmin at gmail.com
Vinx Zhu vinx.zhu at gmail.com
Su Zhenbing malajisi at gmail.com
李伟杰 maidisula at hotmail.com
tao yu yut616 at gmail.com
spremi spremi at ymail.com
ZhiHua Huang huangzhihua at gmail.com

感谢所有参与FTK开发、讨论、使用和Code Review的朋友们。

 

欢迎大家加入邮件列表讨论。

有兴趣的朋友请到FTK下载源代码。

附:
A gui library for embedded system. FTK equals funny tool kit, write it just for fun.

ftk

General features:

  • Lightweght.
  • Beautiful look and feel.
  • High code quality: design pattern, good code style.
  • Stable: code review, unit test, stress test, valgrind checked.
  • Full gui features: window, dialog, panel, button, menu…
  • Good portability: Unix, Windows, RTOS…

Modern features:

  • Theme.
  • Window animation.
  • Alpha channel to implement transparent/translucent window.
  • XML UI description language.
  • Script binding.
  • InputMethod with Handwrite
  • Screen rotation
  • Guesture recognition(TODO).

部分截图:
OpenGLES:
alpha3d.png
alpha.png
Button:
button.png
Cairo:
cairo1.png
cairo2.png
Calculator:
calc.png
CheckButton
checkbutton.png
ComboBox:
combobox.png
Cursor:
cursor.png
Desktop:
desktop.png
Dialog:
dialog.png
Entry:
entry.png
Animation:
expand.png
File Chooser:
filechooser.png
OpenGLES:
fog.png
FullScreen:
fullscreen.png
IconView:
iconview.png
ImageButton:
imagebutton.png
Input Method:
ime.png
Label:
label.png
ListView:
listview.png
Menu:
menu.png
MessageBox:
msgbox.png
Popup Menu:
popmenu.png
Programs:
programs.png
ProgressBar:
progressbar.png
Text View:
text_view.png
Transparent:
translucent.png
transparent.png
WaitBox
waitbox.png

Posted in FTK(嵌入式GUI) | Tagged | 6 Comments

Linux 内核LOGO生成工具

相对内核提供的pnmtologo,增加下列功能:

  • 支持PNG格式。
  • 支持JPG格式。
  • 提供reduce颜色数的参数。

下载地址:http://www.limodev.cn/download/tologo.tar.gz

Posted in Open Source | 2 Comments

嵌入式linux通用截图工具(增强版)

gsnap不基于任何具体的GUI,直接从framebuffer中截图,所以适用于任何嵌入式linux设备。相对前一个版本,主要改动有:

    1. 增加RGB888/ARGB8888支持
      增加png格式输出(感谢figofuture提供)。
  • 有需要的朋友请到这里下载。

    Posted in Tools | 22 Comments

    FTK中的动画机制

    虽然FTK很早就支持了窗口动画,但是作为动画的实现者,我不得不承认FTK的0.6版本之前的动画实现非常蹩脚。主要原因有几点:

    1. 动画运动的速度是单一的匀速运动。
    2. 动画的帧数不能随着硬件性能而改变。
    3. 动画只有窗口的入场(显示)动画,而没有窗口的出场(关闭)动画。
    4. 动画机制没有集成到GUI中,必须由使用者创建和调用,使用起来比较麻烦。

    前段时间因为工作需要花了不少时间去研究Android的GUI的实现,特意关注了它的动画实现,从中受到不少启发。最近重新实现了FTK的动画机制,很大程度上借鉴了Android的动画原理,当然具体实现上是有很大差异的。这里简单介绍一下FTK的窗口动画实现:

    动画运行时间和动画运行进度之前的关系

    如果动画匀速运动,那么时间和位置是线性关系的,比如时间过去50%,那么动画会运行到50%的位置上。但是实现中的物体运动,可能是加速运动,减速运动或皮球一样反弹的,如果所有窗口动画都使用匀速运动,很难达到理想的动画效果。为了解决这个问题,我们引入一个插值器(interpolator)来实现时间和位置之间的变换。

    呵,懒得帖图,请阅读PDF文档

    Posted in FTK(嵌入式GUI) | Tagged | Leave a comment