update doc

This commit is contained in:
idea4good 2017-12-17 14:05:17 +08:00
parent 8df4a725ad
commit b7cb459fac
9 changed files with 21 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# GuiLite 揭示UI原理打造你自己的UI框架- 开发者qq群527251257
![Demo](doc/demo.gif)
![编译方法](doc/HowToBuild.md)
![编译方法](doc/HowToBuild.md)[界面布局方法](doc/HowLayoutWork.md)[消息传递方法](doc/HowMessageWork.md)
超轻量UI框架 - GuiLite是由6千行左右的C/C++代码编写而成它像MFCQT一样为开发者提供界面支持。

10
doc/HowLayoutWork.md Normal file
View File

@ -0,0 +1,10 @@
# How to layout widgets for GuiLiteSamples::HostMonitor?
All widgets was description with struce WND_TREE and ?.xml.cpp files
## How to layout slid group?
![Layout slides group](layout_slide_group.png)
## How to layout single slide?
![Layout single slide](layout_single_slide.png)
## How to layout dialog?
![Layout dialog](layout_dialog.png)

10
doc/HowMessageWork.md Normal file
View File

@ -0,0 +1,10 @@
# How messages work for GuiLiteSamples::HostMonitor?
## How real time message(draw waves) work?
![Callstack for drawing waves](draw_wav.png)
## How click button message work?
![Callstack for clicking button](click_button.png)
## How left/right flip message work?
![Callstack for fliping slides](flip.png)

BIN
doc/click_button.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
doc/draw_wav.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
doc/flip.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

BIN
doc/layout_dialog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

BIN
doc/layout_single_slide.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

BIN
doc/layout_slide_group.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB