Nebula
Loading...
Searching...
No Matches
Input::MouseButton Class Reference

#include <mousebutton.h>

Detailed Description

Mouse button codes and conversion from/to string.

Public Types

enum  Code {
  LeftButton = 0 , RightButton = 1 , MiddleButton = 2 , NumMouseButtons ,
  InvalidMouseButton
}
 code enums More...
 

Static Public Member Functions

static Util::String ToString (Code code)
 convert to string
 
static Code FromString (const Util::String &str)
 convert from string
 

Member Enumeration Documentation

◆ Code

code enums

Enumerator
LeftButton 
RightButton 
MiddleButton 
NumMouseButtons 
InvalidMouseButton 

Member Function Documentation

◆ FromString()

MouseButton::Code Input::MouseButton::FromString ( const Util::String & str)
static

convert from string

◆ ToString()

Util::String Input::MouseButton::ToString ( Code code)
static

convert to string


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