2017-01-02 21:07:43 -05:00
|
|
|
// 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"
|
|
|
|
|
|
|
|
#define NUM_WATERFALL_LINES 512
|
|
|
|
|
|
|
|
class ModeSelectorCanvas;
|
|
|
|
|
|
|
|
class ModeSelectorContext: public PrimaryGLContext {
|
|
|
|
public:
|
|
|
|
ModeSelectorContext(ModeSelectorCanvas *canvas, wxGLContext *sharedContext);
|
|
|
|
|
|
|
|
void DrawBegin();
|
2015-08-19 17:06:06 -04:00
|
|
|
void DrawSelector(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();
|
|
|
|
};
|