MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / SetFillColour

Method SetFillColour

src/gl_wrap.cpp:255–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255void OpenGLWrapper::SetFillColour(wxColour col, float alpha) {
256 fill_r = col.Red() / 255.f;
257 fill_g = col.Green() / 255.f;
258 fill_b = col.Blue() / 255.f;
259 fill_a = alpha;
260}
261
262void OpenGLWrapper::SetModeLine() const {
263 glColor4f(line_r, line_g, line_b, line_a);

Callers 6

DrawOverscanMaskMethod · 0.80
DrawAllFeaturesMethod · 0.80
DrawMethod · 0.80
DrawMethod · 0.80
DrawMethod · 0.80
DrawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected