RigsofRods
Soft-body Physics Simulation
Static Public Member Functions
ErrorUtils Struct Reference

#include <ErrorUtils.h>

Static Public Member Functions

static int ShowError (Ogre::UTFString title, Ogre::UTFString message)
 shows a simple error message box More...
 
static int ShowInfo (Ogre::UTFString title, Ogre::UTFString message)
 shows a simple info message box More...
 
static int ShowMsgBox (Ogre::UTFString title, Ogre::UTFString err, int type)
 shows a generic message box More...
 

Detailed Description

Definition at line 37 of file ErrorUtils.h.

Member Function Documentation

◆ ShowError()

int ErrorUtils::ShowError ( Ogre::UTFString  title,
Ogre::UTFString  message 
)
static

shows a simple error message box

Returns
0 on success, everything else on error

Definition at line 43 of file ErrorUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ShowInfo()

int ErrorUtils::ShowInfo ( Ogre::UTFString  title,
Ogre::UTFString  message 
)
static

shows a simple info message box

Returns
0 on success, everything else on error

Definition at line 50 of file ErrorUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ShowMsgBox()

int ErrorUtils::ShowMsgBox ( Ogre::UTFString  title,
Ogre::UTFString  err,
int  type 
)
static

shows a generic message box

Parameters
type0 for error, 1 for info
Returns
0 on success, everything else on error

Definition at line 55 of file ErrorUtils.cpp.

+ Here is the caller graph for this function:

The documentation for this struct was generated from the following files: