Skip to content

Provide essentail components to build an ui app with DALi

License

Apache-2.0, BSD-3-Clause licenses found

Licenses found

Apache-2.0
LICENSE
BSD-3-Clause
LICENSE.BSD-3-Clause
Notifications You must be signed in to change notification settings

dalihub/dali-ui

Potential Defects CQM SAM TEM CVG

DALi UI

Libraries & Architecture

dali-ui는 유연성과 확장성을 위해 기능별로 분리된 세 개의 핵심 라이브러리로 구성됩니다. 각 라이브러리는 하위 계층의 기능을 기반으로 빌드되는 계층적 구조를 가집니다.

Library Primary Responsibility Components
dali-ui-foundation Core Abstractions Layout, Traits, Theme, etc.
dali-ui-elements Atomic UI Blocks ImageView, TextLabel, etc.
dali-ui-components High-level UI Controls Button, Slider, etc.

1. dali-ui-foundation

프레임워크의 최하위 계층으로, UI 시스템 구축에 필요한 핵심 추상화와 유틸리티를 제공합니다. Trait 시스템의 베이스 클래스, 메모리 관리 모델, 공통 데이터 타입들 그리고 레이아웃 엔진의 기초가 여기에 포함되어 있습니다.

2. dali-ui-elements

dali-ui-foundation을 기반으로 구축되며, 프레임워크의 기본 빌딩 블록들을 포함합니다. 더 복잡한 컴포넌트로 조합되기 전의 원자적인(Atomic) UI 요소들 중 앱 개발에 필수적인 Text 와 Image, Scroll 등의 항목들을 제공합니다.

3. dali-ui-components

실제 애플리케이션 개발에 즉시 사용 가능한 고수준 UI 컨트롤(Button, List, Slider 등)을 제공합니다. elements를 조합하고 foundation의 Trait 시스템을 활용하여 풍부한 로직을 구현합니다.


API Reference

https://pages.github.sec.samsung.net/NUI/dali-ui/api/index_classes.html


How to build

Ubuntu

⚠️ DALi env set up required. (→Link)

⚠️ dali-core, dali-adpator and dali-toolkit should be installed.

. setenv
cd build/tizen
cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX
make install -j

GBS build (Tizen)

To build dali-ui libraries:

gbs build -A armv7l --include-all

To build a sample, specify sample app directory:

gbs build -A armv7l --include-all --packaging-dir samples/hello-world/packaging

How to run automated test

Build dali-ui with test options.

cd build/tizen
export CC=gcc
export CXX=g++
git clean -fxd . # Only do this in the build folder
CXXFLAGS='-g -O0 --coverage' LDFLAGS='--coverage' cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX -DCMAKE_BUILD_TYPE=Debug
make -j install

Then build and run automated test:

cd automated-tests
git clean -fxd . # Only do this in the automated-tests folder
./build.sh
./execute.sh

Check coverage with the test result:

cd automated-tests
./coverage.sh

About

Provide essentail components to build an ui app with DALi

Resources

License

Apache-2.0, BSD-3-Clause licenses found

Licenses found

Apache-2.0
LICENSE
BSD-3-Clause
LICENSE.BSD-3-Clause

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •