File: themed_widgets.cpp

package info (click to toggle)
satdump 1.2.2%2Bgb79af48-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 81,648 kB
  • sloc: cpp: 276,768; ansic: 164,598; lisp: 1,219; sh: 283; xml: 106; makefile: 7
file content (11 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#include "themed_widgets.h"

namespace widgets
{
    void ThemedPlotLines(ImVec4 bg_color, const char* label, const float* values, int values_count, int values_offset, const char* overlay_textL, float scale_min, float scale_max, ImVec2 graph_size)
    {
        ImGui::PushStyleColor(ImGuiCol_FrameBg, bg_color);
        ImGui::PlotLines(label, values, values_count, values_offset, overlay_textL, scale_min, scale_max, graph_size);
        ImGui::PopStyleColor();
    }
}