MCPcopy Create free account
hub / github.com/averne/Fizeau / draw_help_tab

Function draw_help_tab

application/src/gui.cpp:338–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338Result draw_help_tab(Config &ctx) {
339 if (!im::BeginTabItem("Help"))
340 return 0;
341
342 if (im::CollapsingHeader("Usage")) {
343 im::BulletText("\ue121 Touchscreen:\n"
344 "Drag the sliders to set the values to your liking.\n");
345 im::BulletText("\ue122 Controller:\n"
346 "Use the \ue0aa keypad to navigate the window.\n"
347 "Use \ue000 to select an item, then \ue0b1 \ue0b2 to modify\n its value.\n"
348 "Use \ue001 to deselect an item.\n"
349 "Use \ue002 to input a value using the keyboard.\n"
350 "Use \ue0b3 to exit (\ue0b9 is not recommended).\n");
351 }
352
353 if (im::CollapsingHeader("Documentation")) {
354 im::BulletText(
355R"(The temperature slider adjusts the color
356temperature of the screen. Use this as a night
357color feature.)");
358 im::BulletText(
359R"(The filter feature can be used to restrict the color
360displayed to one single component (red, green,
361or blue).)");
362 im::BulletText(
363R"(The gamma slider adjusts the regamma ramp.
364This can be useful on bad/old monitors.)");
365 im::BulletText(
366R"(The luminance slider can increase/decrease the
367perceived luminance. This is different from the
368backlight brightness, but can be used along with
369it to lower the luminosity below normal limits.)");
370 im::BulletText(
371R"(The color range pickers adjust the intensity
372range of color components. This can be useful
373on certain monitors. Unticking "Full range" is
374equivalent to using the "Limited range" official
375setting.)");
376 }
377
378 im::TextUnformatted("Compiled on " __DATE__ " " __TIME__);
379
380 im::EndTabItem();
381 return 0;
382}
383
384} // namespace
385

Callers 1

draw_main_windowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected