Migrated repository
Go to file
2023-02-03 01:43:18 +00:00
apps move all buildxxx.sh to one file,more easy to use 2023-01-09 08:57:00 +00:00
cmake move all buildxxx.sh to one file,more easy to use 2023-01-09 08:57:00 +00:00
docs update readme and screenshots 2022-07-06 09:58:05 +08:00
scripts remove all 3rdpaty modules ,use vcpkg instead 2022-11-29 09:32:27 +00:00
src fix some InputEvent's api 2023-02-03 01:43:18 +00:00
tests motion range 2022-12-24 10:05:39 +00:00
.gitignore add plplot 2021-12-14 18:33:00 +08:00
build.sh fix some InputEvent's api 2023-02-03 01:43:18 +00:00
CMakeLists.txt modify graph interface,add display rotation support 2022-12-23 03:39:34 +00:00
Doxyfile.in CDROID's First commit 2021-06-24 10:12:55 +08:00
LICENSE CDROID's First commit 2021-06-24 10:12:55 +08:00
README.md fix some InputEvent's api 2023-02-03 01:43:18 +00:00
sigmastar.sh add sigmastar graph_gfx port 2022-12-07 10:32:37 +00:00

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 porting must be placed to src/porting/xxx(where xxx is you chipset name)
  • 2, implement your porting api to xxx directory
  • 3, enter source root directory
  • 4, make a dir named outxxx,enter outxxx)
  • 5, cmake -DCMAKE_TOOLCHAN_FILE="your cmake toolchain path"
    -DCDROID_CHIPSET=xxx
    ..
  • 7,after step 4,makefile is created in directory outxxx where you can type make to build your program.
  • 8,you can export USE_RFB_GRAPH=ON before cmake is executed to to use remote framebuffer for test.

Building CDROID:

  • 1.install dependencs: sudo apt install build-essential cmake gdb pkg-config zip gettext libx11-dev
  • 2.install vcpkg
  • 3.install cdroid deplibs: vcpkg install libzip cairo
  • 4.create buildings:./build.sh --port=x64
  • 5.enter buildout directory and make the cdroid project