Skip to content

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, Theme, ImageView, Label, etc.
dali-ui-components UI Controls Button, Slider, etc.

1. dali-ui-foundation

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

2. dali-ui-components

dali-ui-foundation을 기반으로 구축되며, 애플리케이션 개발에 사용 가능한 UI 컨트롤(Button, Slider, ImageView, Label 등)을 제공합니다. foundation의 Trait 시스템을 활용하여 풍부한 로직을 구현합니다.


Release

dali-uitizen 브랜치로 릴리즈 됩니다. → Releases

릴리즈 노트에 명시된 DALi dependency 태그를 사용하여 dali 버전을 맞출 수 있습니다. 예를 들어 dali-ui v2.5.14.10210 의 경우 명시된 dali-core와 dali-adaptor 태그를 사용하여 아래와 같이 버전을 맞출 수 있습니다.

cd dali-core
git checkout accepted/tizen/unified/20260327.174826
cd dali-adaptor
git checkout accepted/tizen/unified/20260327.174830
cd dali-ui
git checkout v2.5.14.10210

How to build

Ubuntu build

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

. setenv
dali-core
cd dali-core/build/tizen
cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX .
make install -j
dali-adaptor
cd dali-adaptor/build/tizen
cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX . -DENABLE_GRAPHICS_BACKEND="GLES"
make install -j
dali-ui
cd dali-ui/build/tizen
cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX .
make install -j
Sample hello-world
cd dali-ui/samples/hello-world
cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX .
make install -j
./bin/hello-world

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

Packages

 
 
 

Contributors