WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
component_view.h File Reference
#include <functional>
#include <optional>
#include <unordered_map>
#include <vector>
#include "webcface-config.h"
#include "webcface/common/val_adaptor.h"
#include "webcface/text.h"
Include dependency graph for component_view.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ViewComponent
 Viewに表示する要素です More...
 
class  TemporalViewComponent
 Viewを構築するときに使う一時的なViewComponent. More...
 

Namespaces

namespace  webcface
 
namespace  webcface::message
 
namespace  webcface::internal
 

Typedefs

typedef struct wcfViewComponent wcfViewComponent
 
typedef struct wcfViewComponentW wcfViewComponentW
 
typedef struct wcfMultiVal wcfMultiVal
 
typedef struct wcfMultiValW wcfMultiValW
 

Enumerations

enum class  ViewColor {
  inherit = 0 , black = 1 , white = 2 , gray = 4 ,
  red = 8 , orange = 9 , yellow = 11 , green = 13 ,
  teal = 15 , cyan = 16 , blue = 18 , indigo = 19 ,
  purple = 21 , pink = 23
}
 
enum class  ViewComponentType {
  text = 0 , new_line = 1 , button = 2 , text_input = 3 ,
  decimal_input = 4 , number_input = 5 , toggle_input = 6 , select_input = 7 ,
  slider_input = 8 , check_input = 9
}
 

Functions

ViewColor colorFromRGB (double r, double g, double b)
 ViewColorのenumの中からRGBで指定した色に近いものを返す
 

Typedef Documentation

◆ wcfMultiVal

typedef struct wcfMultiVal wcfMultiVal

◆ wcfMultiValW

typedef struct wcfMultiValW wcfMultiValW

◆ wcfViewComponent

◆ wcfViewComponentW