機能
棒グラフ描画の設定のための構造体です。
sact_bar_graph_tの補助的役割。
変数
int nType; // 0=→,1=←,2=↓,3=↑ int nWidth; // 幅 int nHeight; // 高さ int nBarColorR; // 棒の色(RGBのR) int nBarColorG; // 棒の色(RGBのG) int nBarColorB; // 棒の色(RGBのB) int nBarBlend; // 棒のブレンド率 int nBackColorR; // 背景の色(RGBのR) int nBackColorG; // 背景の色(RGBのG) int nBackColorB; // 背景の色(RGBのB) int nBackBlend; // 背景のブレンド率
メソッド
なし
コンストラクタ
sact_bar_graph_metrics_t() { // デフォルト値設定 nType = 0; // 0=→,1=←,2=↓,3=↑ nWidth = 640; // 幅 nHeight = 20; // 高さ nBarColorR = 255; // 棒の色(RGBのR) nBarColorG = 255; // 棒の色(RGBのG) nBarColorB = 255; // 棒の色(RGBのB) nBarBlend = 128; // 棒のブレンド率 nBackColorR = 0; // 背景の色(RGBのR) nBackColorG = 0; // 背景の色(RGBのG) nBackColorB = 0; // 背景の色(RGBのB) nBackBlend = 128; // 背景のブレンド率 }
デストラクタ
なし
グローバル宣言
なし