13.07.2015 Views

Mali GPU User Interface Engine Application Development Guide

Mali GPU User Interface Engine Application Development Guide

Mali GPU User Interface Engine Application Development Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Tutorial on the Lotion <strong>User</strong> <strong>Interface</strong> ClassesminimalrobotThe Minimal class inherits from Theme and provides very basic graphicelements. Some of the controls in the Blue theme are used.The Robot class inherits from Theme and provides animated user-interfacecontrols.The lotion directory contains the theme.h file that contains the pure virtual declarations for theTheme class.transitions subdirectoryThe transitions subdirectory contains code that provides alternative ways to switch betweendifferent images:cubegridThe Cube class defines the size and location of a cube and associated transitionactions.The Grid class defines the size and location of a grid and associated transitionactions.linear_stretchThe LinearStretch class defines transition actions based on distorting a shape.pagepuzzleslimeThe Page class defines the size and location of a page and associated transitionactions.The Puzzle class defines the size and location of a puzzle shape and associatedtransition actions.The Slime class defines the size and location of a irregular shape and associatedtransition actions.widgets subdirectoryThe widgets subdirectory contains code that provides user-interface controls and manages thebackground for the user applications:skyboxbackgroundbuttoncheckboxThe Skybox class defines the size and location of a texture cube and associatedtexturing actions.The Background class is an empty placeholder.The Button class defines the text and enable state for a button.The Checkbox class inherits from Button defines the checked and enabled stateof a checkbox widget.composite_frameThe CompositeFrame class is a widget that contains multiple quads.labelThe Label class is a widget for displaying text.custom_labelThe CustomLabel class inherits from Label and defines how the label isdisplayed.ARM DUI 0527A-02a Copyright © 2010 ARM. All rights reserved. 5-5ID070710Non-Confidential - Draft - Beta

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!