|
|
Micro Windows 0.1
|
|
|
|
UWindows is a Graphical User Interface (GUI) library that enable programmers to create effective user interfaces in few simple and easy steps.
User can add buttons, Lebels , edit boxes
Determine thier properties (location, size, captions , etc) attach a call back for events (Click, Joystick Press, Timer).
In few steps the user will have a GUI form just like windows and IPODs |
Code size: | |
Author: | semsem |
Source files included: | yes |
Version: | 0.1 |
Use circleOS: | yes (1.7) |
Creation date: | 2009-06-23 03:56:56 |
Hardware modification: | no |
Modification date: | 2009-06-23 03:56:56 |
Based on the STM32 Primer: | Primer2 |
| |
|
|
Downloads: | 2321 |
Views: | 27638 |
|
|
Vote: |
|
Average ratings: | 0/5 (0 rates) |
Download:
Micro-Windows-0.1.zip (541 KB)
Description:UWindows is a Graphical User Interface (GUI) library and frame work built upon Circle_OS. UWindows enable programmers to create effective user interfaces in few simple and easy steps. This reliefs programmers from the tedious work of creating GUI and handling LCDs and allows them to concentrate more on the application rather than the GUI. UWindows currently support forms, labels, buttons, edit boxes, check boxes and icons. For every UWindow object a user can modify the list of properties of that object to determine how and where an object should appear. Also each object has list of events (Touch Screen Click, Joy Stick Move, Timer, etc..) which can be attached to it. By utilizing these events, a program is no more flow driven but event driven. Programmers can add multiple applications to UWindows main windows. All applications added to UWindows will be available to the user to pick from them just like any desktop. UWindows also provides a list of utilities for which a user can make use of mainly including memory utilization functions ( dynamic allocation and freeing, memory copy and memory set) and Touch Screen calibration. Finally, UWindows is designed to be configurable with its features enabled or disabled based on the size and utilities requested by the user. UWindows opens a room for a numerous number of applications. Included as a sample with the library: Calculator, Clock, Phone Book and a simple Hello World example used for demo.
UWindows is based on objects. Every new item is considered a new Uwindow object. The behavior of the object and its shape changes based on the properties assigned to that object. All objects have a common list properties that they share together ex: x and y positions, length, height, caption, etc. Extra properties can be assigned to an object based on the type of the object. For example a list box should have List Box Properties object assigned to its extra properties (extra to the common properties) to determine in more specific details how the list box should behave.
Except for the main UWindows object (UWindows) every other object must have a parent. An object have a single parent but can have multiple sons. The arrangement of siblings and sons determine how the object should appear in user interface when rendered.
Each object type supported by Uwindows has a default way of operation to communicate with the user. For example a check box is usually used to indicate a boolean value to the user. A click on the check box will toggle the value of the check box between 1 and 0. Edit Box is another way of retrieving date from users. Edit boxes get its caption by writing to it. Writing to an LCD can be a tedious job. For this, UWindows has created a character set map. Character Set Map is a map of all the alphabetic characters. It will pop up every time an Edit box is clicked This edit box will be known as the active edit box. The output of the character map will be applied to this edit box. The user can cancel the map and continue to work normally or can use the map to edit the caption of the edit box which can later convey to some user data (ex: Name, Telephone No., etc..).
UWindows also support few extra services like dynamic memory allocation and freeing, memcpy and memset. This are embedded for UWindows client applications whenever the user may see a need for them.
Included as a sample applications for Micro windows: Calculator, Time Setter, Phone Book and a Simple Demo Hellow World!
the UWindows Explains clearly the basic principles and working of UWindows along with its APIs and How to use them to create a GUI application.
|
|
|
|
|