Preface

MiniGUI is a mature cross-platform windowing system and a GUI (Graphics User Interface) support system for embedded systems and smart IoT devices.

MiniGUI aims to provide a fast, stable, full-featured, tailorable, and cross-platform windowing and GUI support system, which is especially fit for embedded systems or smart IoT devices based-on Linux/uClinux, eCos, and other traditional RTOSes, such as ThreadX, FreeRTOS, RTEMS, RT-Thread, VxWorks, Nucleus, pSOS, uC/OS-II, and OSE.

This handbook is the programming guide for the MiniGUI version 3.2 or later. It describes how to develop applications based on MiniGUI core and the following MiniGUI components:

  • mGUtils: This component contains miscellaneous utilities like ColorSelectionDialogBox, FileOpenDialogBox, and so on.

  • mGPlus: This component provides support for 2D vector graphics functions like path, gradient, anti-aliased stretch, and color combination.

  • mGEff: This component provides an animation framework for MiniGUI app. It also provides some popular UI/UE special effects.

  • mGNCS: This component provides a new control set for MiniGUI app, and a new framework for MiniGUI apps as well. By using mGNCS, you can use miniStudio to develop MiniGUI app in WYSIWYG way.

  • mGNCS4Touch: This component provides some new controls, which are compliant to the new control API spec of mGNCS, for devices with touch screens.

This handbook is a complete guide on MiniGUI programming, which describes the foundation knowledge of MiniGUI programming and various programming methods and skills, and describes the main API functions in detail. Though the handbook tries to describe various aspects of MiniGUI programming at length, it is not a complete reference manual about MiniGUI APIs; please refer to MiniGUI API Reference Manuals for relevant information.

The documents related to this guide:

Organization of this Guide

Except this preface, the text is divided into six parts (dozens chapters) and an appendix in total:

Obtaining Samples of the Guide

We organize the sample programs in this guide into a complete Autoconf/Automake project package called mg-samples. You can download this source tarball from the download zone of MiniGUI website:

http://www.minigui.com/download

or fetch the source code from the public repository:

https://github.com/VincentWei/mg-samples

Compiling and Running Environment of the Samples

This guide assumes that you run MiniGUI 3.2 or later on Linux operating system. Therefore, some samples are described on the assumption that you are using Linux and GNU GCC toolchain. However, most of the samples in this guide can run on other operating systems.

For the instructions to setup the development environment, you can refer to Quick Start.

FMSoft releases the sample code (mg-samples) under Apache 2.0 license. The original text of Apache 2.0 license can be obtained by following means:


Table of Contents | Beginning MiniGUI Programming >>

Last updated