Bool nwSetWindowColor( hWnd, col[4] ) NWHWND hWnd NWS_RGBA col[4]
hWnd | ウィンドウハンドル |
col | ウィンドウの各頂点の色を格納した配列アドレス |
TRUE | 成功 |
FALSE | 失敗 |
NWS_RGBA col[4] = { {255, 0, 0,255}, /* Color of the upper left vertex */ { 0,255, 0,255}, /* Color of the upper right vertex */ { 0, 0,255,255}, /* Color of the lower right vertex */ { 0, 0, 0,255}, /* Color of the lower left vertex */ }; nwSetWindowColor( hWnd, col );