MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / gammaCB

Function gammaCB

server/vglconfig.cpp:235–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235void gammaCB(Fl_Widget *w, void *data)
236{
237 Fl_Float_Input *input = (Fl_Float_Input *)w;
238 fconfig_setgamma(fconfig, atof(input->value()));
239 char temps[20];
240 snprintf(temps, 19, "%.2f", fconfig.gamma);
241 input->value(temps);
242}
243
244void ifCB(Fl_Widget *w, void *data)
245{

Callers

nothing calls this directly

Calls 2

fconfig_setgammaFunction · 0.85
valueMethod · 0.45

Tested by

no test coverage detected