IMHOTEP Framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Public Attributes | Properties | List of all members
UI.Core Class Reference
Inheritance diagram for UI.Core:
Inheritance graph
[legend]
Collaboration diagram for UI.Core:
Collaboration graph
[legend]

Public Member Functions

void OnEnable ()
 
void OnDisable ()
 
void setPointerIsOnUI (bool onUI)
 
void setPointerIsOnPlatformUI (bool onUI)
 
void setCamera (Camera cam)
 
Widget getWidgetByName (string name)
 
void selectTab (Button b)
 
void unselectTab (Button b)
 
int addIndication (UI.Screen screen, string message)
 
void clearIndication (int id)
 
void closePatient ()
 
void savePatient ()
 
void patientLoaded (object obj=null)
 

Public Attributes

Camera UICamera
 
float UIScale = 0.0025f
 The scale with which all the UI elements are scaled (i.e. pixels to meters)
 
float pixelsPerMeter = 500f
 
float aspectRatio = 1f
 
Color TabHighlightColor
 
Color ButtonBaseColor
 
Color ButtonHighlightColor
 
Sprite normalTabImage
 
Sprite selectedTabImage
 
GameObject indicatorLeft
 
GameObject indicatorRight
 
GameObject statusBar
 A bar on the lower end of the screen (for close button etc.)
 
GameObject PatientSelector
 

Properties

bool pointerIsOverUIObject [get, set]
 Is set to true whenever the mouse is over a UI elemnt.
 
bool pointerIsOverPlatformUIObject [get, set]
 
static Core instance [get, set]
 
LayoutSystem layoutSystem [get, set]
 

Detailed Description

Definition at line 9 of file Core.cs.

Property Documentation

bool UI.Core.pointerIsOverPlatformUIObject
getset

Is set to true whenever the mouse is over a UI element on the platform (but ignores UI elments which are beyond the UIMesh, like things that are attached to the organs).

Definition at line 15 of file Core.cs.


The documentation for this class was generated from the following file: