Public Member Functions | Public Attributes
gui Struct Reference

List of all members.

Public Member Functions

bool button (const rect &r, const std::string &label)
bool checkbox (const rect &r, bool &value)
 click ()
 clicked_id ()
void fill_rect (const rect &r, const color &c)
 gui ()
void indicator (const rect &r, double min, double max, double value)
void label (const int2 &p, const color &c, const char *format,...)
 mouse_down ()
void option_label (const int2 &p, const color &c, rs::device &dev, rs::option opt, double max_width, bool enabled, double *value=nullptr)
void outline_rect (const rect &r, const color &c)
bool slider (int id, const rect &r, double min, double max, double step, double &value, bool disable_dragger=false)
void vscroll (const rect &r, int client_height, int &offset)

Public Attributes

bool click
int clicked_id
int2 clicked_offset
int2 cursor
bool mouse_down
int2 scroll_vec

Detailed Description

Definition at line 39 of file cpp-config-ui.cpp.


Constructor & Destructor Documentation

gui::gui ( ) [inline]

Definition at line 45 of file cpp-config-ui.cpp.


Member Function Documentation

bool gui::button ( const rect r,
const std::string label 
) [inline]

Definition at line 142 of file cpp-config-ui.cpp.

bool gui::checkbox ( const rect r,
bool &  value 
) [inline]

Definition at line 151 of file cpp-config-ui.cpp.

gui::clicked_id ( ) [inline]

Definition at line 45 of file cpp-config-ui.cpp.

void gui::fill_rect ( const rect r,
const color c 
) [inline]

Definition at line 112 of file cpp-config-ui.cpp.

void gui::indicator ( const rect r,
double  min,
double  max,
double  value 
) [inline]

Definition at line 193 of file cpp-config-ui.cpp.

void gui::label ( const int2 p,
const color c,
const char *  format,
  ... 
) [inline]

Definition at line 47 of file cpp-config-ui.cpp.

void gui::option_label ( const int2 p,
const color c,
rs::device dev,
rs::option  opt,
double  max_width,
bool  enabled,
double *  value = nullptr 
) [inline]

Definition at line 62 of file cpp-config-ui.cpp.

void gui::outline_rect ( const rect r,
const color c 
) [inline]

Definition at line 123 of file cpp-config-ui.cpp.

bool gui::slider ( int  id,
const rect r,
double  min,
double  max,
double  step,
double &  value,
bool  disable_dragger = false 
) [inline]

Definition at line 165 of file cpp-config-ui.cpp.

void gui::vscroll ( const rect r,
int  client_height,
int offset 
) [inline]

Definition at line 230 of file cpp-config-ui.cpp.


Member Data Documentation

bool gui::click

Definition at line 42 of file cpp-config-ui.cpp.

Definition at line 43 of file cpp-config-ui.cpp.

Definition at line 41 of file cpp-config-ui.cpp.

Definition at line 41 of file cpp-config-ui.cpp.

Definition at line 42 of file cpp-config-ui.cpp.

Definition at line 41 of file cpp-config-ui.cpp.


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


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:41