Giter VIP home page Giter VIP logo

ealanli / cdroid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from houstudio/cdroid

0.0 0.0 0.0 154.95 MB

CDroid is a android like GUI toolkit base on C++11,It is a cross-platform GUI engine for embedded system.Mybe an other choice of emwin ,touchgfx,awtk. it is more frientdly for android developers.

License: GNU Lesser General Public License v2.1

Shell 0.05% C++ 83.96% Python 0.16% C 14.21% Makefile 0.45% CMake 1.13% Meson 0.04%

cdroid's Introduction

Introduction

CDroid is a android like GUI toolkit base on C++11,It is a cross-platform GUI engine for embedded system.

Features:

  • Multi Layer/Multi Window
  • Integrated with 40+ UI Components and 20+ Drawables(compatible with android)
  • All UI Components(Layouts,Drawables...)can be designed in AndroidStudio or Eclipse
  • Vector Graph supported via Cairo

Screen Shots

demo1 demo2 Pott ListView+Progress

UI Components:

  • View
  • TextView
  • EditText
  • Button
  • ImageView
  • ImageButton,
  • CompoundButton
  • ToggleButton
  • CheckBox
  • RadioButton
  • ProgressBar
  • SeekBar
  • Chronometer
  • AnalogClock,
  • SimpleMonthView
  • ViewGroup
  • RadioGroup
  • ScrollView
  • HorizontalScrollView
  • CalendarView
  • ViewPager
  • TabWidget
  • NumberPicker
  • AdapterView
  • AbsListView
  • Spinner
  • ListView
  • GridView
  • YearPickerView

Supported Layouts:

  • FrameLayout
  • LinearLayout
  • TableRow
  • TableLayout
  • AbsoluteLayout
  • GridLayout

Supported Drawables:

  • ColorDrawable
  • BitmapDrawable
  • NinepatchDrawable
  • InsetDrawable
  • ShapeDrawable
  • TransitionDrawable
  • LayerDrawable
  • StateListDrawable
  • LevelListDrawable
  • ClipDrawable
  • GradientDrawable
  • RotateDrawable
  • ScaleDrawable
  • AnimatedRotateDrawable
  • AnimatedImageDrawable
  • TransitionDrawable

Porting guide:

  • 1, A new product porting should be placed to src/porting/xxx(where xxx is you chipset name)
  • 2, implement your porting api to xxx directory
  • 3, modify build.sh to support your port(you should configure sysroot toolchain...).
  • 4, call build.sh --product=xxx
  • 5, make you project(SeeAlso Building CDROID)

Building CDROID:

  • 1.install dependencs: sudo apt install build-essential cmake gdb pkg-config zip gettext libx11-dev bison python>=3.7
  • 2.install vcpkg (git clone https://github.com/microsoft/vcpkg.git)
  • 3.install cdroid deplibs: vcpkg install gtest sdl2 libunibreak libjpeg-turbo[jpeg8] libzip cairo --triplet=x64-linux-dynamic (Recommand you use dynamic triplet(static is not tested)
  • 4.create buildings:./build.sh --product=x64 --build=debug
  • 5.enter directory out${product}-${build} and make the cdroid project

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.