|
WebCFace 3.2.0
Web-based Communication Framework & Dashboard-like UI
|
#include <webcface/components.h>
Public Member Functions | |
| TemporalGeometry (GeometryType type, std::vector< double > &&properties) | |
| TemporalComponent & | id (const StringInitializer &id) & |
| idを設定 | |
| TemporalComponent && | id (const StringInitializer &id) && |
| TemporalComponent & | onClick (const Func &func) & |
| クリック時に実行される関数を設定 (Viewまたは2D, Funcオブジェクト) | |
| TemporalComponent && | onClick (const Func &func) && |
| TemporalComponent & | onClick (const FuncListener &func) & |
| クリック時に実行される関数を設定 (Viewまたは2D, FuncListener) | |
| TemporalComponent && | onClick (const FuncListener &func) && |
| TemporalComponent & | onClick (T func) & |
| クリック時に実行される関数を設定 (Viewまたは2D) | |
| TemporalComponent && | onClick (T func) && |
| TemporalComponent & | origin (const Transform &origin) & |
| 要素の移動 (2Dまたは3D) | |
| TemporalComponent && | origin (const Transform &origin) && |
| TemporalComponent & | color (ViewColor c) & |
| 色 | |
| TemporalComponent && | color (ViewColor c) && |
| TemporalComponent & | text (const StringInitializer &str) & |
| 表示する文字列 (View, Canvas2D) | |
| TemporalComponent && | text (const StringInitializer &str) && |
| TemporalComponent & | textColor (ViewColor c) & |
| 文字色 (Viewまたは2D) | |
| TemporalComponent && | textColor (ViewColor c) && |
| TemporalComponent & | fillColor (ViewColor c) & |
| 背景色 (Viewまたは2D) | |
| TemporalComponent && | fillColor (ViewColor c) && |
| TemporalComponent & | bgColor (ViewColor c) & |
| 背景色 (Viewまたは2D) | |
| TemporalComponent && | bgColor (ViewColor c) && |
| TemporalComponent & | strokeWidth (double s) & |
| 線の太さ (2Dのみ) | |
| TemporalComponent && | strokeWidth (double s) && |
| TemporalComponent & | textSize (double s) & |
| 文字の大きさ (2Dのみ) | |
| TemporalComponent && | textSize (double s) && |
| TemporalComponent & | width (int width) & |
| 要素の幅 (Viewのみ) | |
| TemporalComponent && | width (int width) && |
| 要素の幅 (Viewのみ) | |
| TemporalComponent & | height (int height) & |
| 要素の高さ (Viewのみ) | |
| TemporalComponent && | height (int height) && |
| 要素の高さ (Viewのみ) | |
| template<typename GeometryDerived , std::enable_if_t< std::is_constructible_v< GeometryDerived, Geometry & >, std::nullptr_t > = nullptr> | |
| GeometryDerived | as () const |
| 各種Geometry型に変換 | |
| bool | operator== (const Geometry &other) const |
| bool | operator!= (const Geometry &other) const |
Public Attributes | |
| TemporalViewComponent | component_v |
| TemporalCanvas2DComponent | component_2d |
| TemporalCanvas3DComponent | component_3d |
| GeometryType | type |
| std::vector< double > | properties |
|
inline |
|
inlineinherited |
各種Geometry型に変換
as<Line>(), as<Plane>() などとしてそれぞれのgeometry型のプロパティを取得する。
|
inlineinherited |
背景色 (Viewまたは2D)
|
inlineinherited |
|
inlineinherited |
色
Viewの要素では textColor として設定される
|
inlineinherited |
|
inlineinherited |
背景色 (Viewまたは2D)
|
inlineinherited |
|
inlineinherited |
要素の高さ (Viewのみ)
|
inlineinherited |
要素の高さ (Viewのみ)
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
クリック時に実行される関数を設定 (Viewまたは2D, Funcオブジェクト)
引数については ViewComponent::onClick(), Canvas2DComponent::onClick() を参照
|
inlineinherited |
|
inlineinherited |
クリック時に実行される関数を設定 (Viewまたは2D, FuncListener)
引数については ViewComponent::onClick(), Canvas2DComponent::onClick() を参照
|
inlineinherited |
|
inlineinherited |
クリック時に実行される関数を設定 (Viewまたは2D)
引数については ViewComponent::onClick(), Canvas2DComponent::onClick() を参照
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
要素の移動 (2Dまたは3D)
|
inlineinherited |
|
inlineinherited |
線の太さ (2Dのみ)
文字の太さではない
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
ver3.0〜 StringInitializer 型で置き換え
|
inlineinherited |
文字色 (Viewまたは2D)
Canvas2DのTextでは fillColor が文字色の代わりに使われている
|
inlineinherited |
|
inlineinherited |
文字の大きさ (2Dのみ)
|
inlineinherited |
|
inlineinherited |
要素の幅 (Viewのみ)
|
inlineinherited |
要素の幅 (Viewのみ)
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |