10025.Microwindows Introduction

xiaoxiao2021-03-06  36

MicroWindows is a famous open source embedded GUI software with a graphical window ring.

Introduction to small devices and platforms running Linux. As an alternative to X Window, Microwindows

You can use fewer RAM and file storage (100K-600K) to provide a similar function with X Window.

MicroWindows allows designers to easily add a variety of display devices, mouse, touch screens, and keyboards.

The kernel code of Linux2.2 or later allows the user to make graphic display as framebuffer.

Acquisition, so when the user writes and controls the display device, avoid operation of the memory map area,

Therefore, the user can graphically do not understand the underlying graphic hardware or without using X WINDOW.

Development of procedures. That's why now use MicroWindows reasons in the embedded system.

MicroWindows's portability is very portable, basically realized with C language, only some key code

Use compilation to increase speed. MicroWindows supports Intel 16, 32-bit CPU, MIPS R4000

And ARM chip. Although MicroWindows fully supports Linux, it is based on

A relatively simple screen device interface that runs on many different RTOS and bare metal. This feature

The advantage is highlighted in the user-designed graphics programs that can be shared by different projects without rewriting.

Run on different objects of different RTOs. MicroWindows has been ported to some palms.

The MicroWindows system supports the simulation target platform on the host platform in a graphical way. In this way,

Linux designed MicroWindows applications can be written and developed on the desktop without

Cross-compilation can be tested and running and run directly on the target platform.

MicroWindows graphics engine can run in any support Readpixel, WritePixel, Drawhorzline,

Drawvertline and SetPalette's system. Under the support of the underlying function, the upper layer implements a bitmap.

Fonts, cursors, and colors support. The system uses an optimized draw function, so when the user is in the mobile window

A better response can be provided. Memory graphics drawing and movement implementation makes the screen drawing look very smooth.

This is especially useful in displaying animations, polygonal drawings, arbitrary regions, and useful.

MicroWindows supports the new Linux kernel cache structure, which is currently available to each pixel 1.

Support for 2, 4, 8, 16, 24 and 32, and also support color display and grayscale display, color display

It includes two modes of true color (15, 16 and 32 bits) and palette (1, 2, 4, and 8).

In color display mode, all colors are given in RGB format, and the system is converted to the most similar.

The color can be displayed, and in monochrome mode is converted into different gray levels. MicroWindows support window

Cover and sub-window concept, complete window and customer district shear, scale, and fixed fonts, also provide fonts

And bitmap file processing tools.

MicroWindows uses a layered design method. Drive on the bottom, screen, mouse / touch screen and keyboard

The program provides the ability to access physical device. In the middle layer, a portable graphics engine is realized.

Draw, regional fill, shear, and color models, etc. In the upper layer, realize a variety of APIs to accommodate different

Application Environment.

Here are three example applications.

转载请注明原文地址:https://www.9cbs.com/read-73486.html

New Post(0)