CubicSDR/src/visual/ModeSelectorContext.h

19 lines
518 B
C
Raw Normal View History

// Copyright (c) Charles J. Cliffe
// SPDX-License-Identifier: GPL-2.0+
2015-01-04 19:50:05 -05:00
#pragma once
#include "PrimaryGLContext.h"
#include "Gradient.h"
class ModeSelectorCanvas;
class ModeSelectorContext: public PrimaryGLContext {
public:
ModeSelectorContext(ModeSelectorCanvas *canvas, wxGLContext *sharedContext, wxGLContextAttrs *ctxAttrs);
2015-01-04 19:50:05 -05:00
void DrawBegin();
2021-04-04 22:20:33 -04:00
void DrawSelector(const std::string& label, int c, int cMax, bool on, float r, float g, float b, float a, float padx, float pady);
2015-01-04 19:50:05 -05:00
void DrawEnd();
};