LiteGFX

QuDai Introduction

QuDai Technology is a software service company that leverages its self-developed LiteGfx framework to fully harness the performance of various chips, providing customers with cross-platform, one-stop GUI solutions and a plethora of dazzling visual effects products. By utilizing our proprietary 2.5D effects framework, we simulate 3D technology and integrate particle system physics engine technology. All 2.5D effects are embedded within LiteGfx Designer, allowing customers to easily use and personalize them to create unique visual identities. QuDai Technology will continuously enrich its product portfolio in 2.5D technology, helping clients stand out in the fiercely competitive market. We firmly believe that excellent visual design is the key to enhancing a company’s brand value and market competitiveness.

























Source Code

QuDai components are integrated into HoneyGUI as a third-party library and used as a Widget in the RealGUI engine. This integration includes three main parts: core library, control adaptation, and platform support.

Source code path: HoneyGUI\realgui\3rd\litegfx

|-HoneyGUI-Adapt
|      gui_widget_litegfx.c
|      gui_widget_litegfx.h
|      tab_app_energybox.c
|      tab_app_notifications.c
|      tab_app_prism.c
|      tab_app_prism_refl.c
|      tab_app_soccer.c
|      tab_watchface_butterfly.c
|      tab_watchface_digitclock.c
|      tab_watchface_flowerfall.c
|      tab_watchface_windmill.c
|
|-platform
|      lx_platform_log.c
|      lx_platform_log.h
|      lx_platform_memory.c
|      lx_platform_memory.h
|      lx_platform_new.cpp
|      lx_platform_time.c
|      lx_platform_time.h
|
|-vglite
    |  liblx_vglite_gcc.a
    |  lx_vglite.lib
    |
    |-include
        |-interface
                lx_vglite_api.h

Widget Adaptation Layer

The code in this directory is a wrapper layer provided by QuDai to adapt to HoneyGUI. Among these files, gui_widget_litegfx.c/h contains the widget component. By calling the gui_widget_litegfx_create() function, you can create a LiteGFX widget. Note that essentially, using this method still involves calling the RealGUI engine to display related effects. This widget supports the tiled approach for FrameBuffer.

The project provides multiple code examples for direct reference:

  • tab_app_energybox.c : Energy box effect example

  • tab_app_notifications.c : Notification effect example

  • tab_app_prism.c : Prism example

  • tab_app_prism_refl.c : Prism reflection example

  • tab_app_soccer.c : Soccer game example

  • tab_watchface_butterfly.c : Butterfly watchface example

  • tab_watchface_digitclock.c : Digital clock example

  • tab_watchface_flowerfall.c : Flower fall example

  • tab_watchface_windmill.c : Windmill example

Platform Adaptation Layer

The platform adaptation layer refactored certain interfaces based on different platforms, including debug log output, memory management, and system time-related functions. It also includes overloading certain C++ functions (such as new).

Core Lib

It provides the Windows GCC version of liblx_vglite_gcc.a and the embedded environment version of lx_vglite.lib. Please pay attention to the compiler version.