Git Product home page Git Product logo

awtk-examples's Introduction

AWTK 示例使用说明

项目介绍:

  • HelloDesigner-Demo:最简单的入门 Demo,包含基本的文本和按钮控件使用方法
  • Chart.v2-Demo:图表演示 Demo,包含仪表、饼图、曲线图、柱状图
  • Meter.v2-Demo:普通工业仪表演示 Demo
  • CleanAir.v2-Demo:新风系统演示 Demo
  • MusicPlayer.v2-Demo:音乐播放器演示 Demo
  • SmartWatch.v2-Demo:智能手表演示 Demo

HelloWorld.Xml-Demo:用传统手写 XML 方式开发的工程模板,可以用 assets_gen.bat 生成资源,但不能用 Designer 打开工程,也不依赖 Designer 生成资源

Windows 使用方法:

  1. 确保已经安装好 VS2015(Visual C++)、Python2.7(x64)、SCons3.0.1 等工具

  2. 将 awtk 和 awtk-examples 下载到同一个文件夹下

  3. 修改 awtk 文件夹的 awtk_config.py 脚本使用 AGGE 渲染方式

    AGGE 渲染方式兼容性最好,可以兼容 Windows、Linux、macOS 以及各种嵌入式平台

    NANOVG_BACKEND='AGGE'
    
  4. 进入 awtk 文件夹,在命令行中输入 scons 编译 awtk

    C:\zlgopen\awtk> scons
    
  5. 进入 awtk-examples 中某个项目文件夹,在命令行中输入 scons 编译项目

    C:\zlgopen\awtk-examples\HelloDesigner-Demo> scons
    
  6. 进入项目的 bin 文件夹启动 demo

    C:\zlgopen\awtk-examples\HelloDesigner-Demo\bin> demo.exe
    

运行效果截图:

Chart-Demo

Meter-Demo

CleanAir-Demo

MusicPlayer-Demo

SmartWatch-Demo

awtk-examples's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.