2017-01-02 21:07:43 -05:00
|
|
|
// Copyright (c) Charles J. Cliffe
|
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
|
2014-11-12 21:55:11 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "PrimaryGLContext.h"
|
|
|
|
#include "Gradient.h"
|
|
|
|
|
|
|
|
class ScopeCanvas;
|
|
|
|
|
|
|
|
class ScopeContext: public PrimaryGLContext {
|
|
|
|
public:
|
2018-03-10 02:34:39 -05:00
|
|
|
ScopeContext(ScopeCanvas *canvas, wxGLContext *sharedContext, wxGLContextAttrs *ctxAttrs);
|
2014-11-12 21:55:11 -05:00
|
|
|
|
2015-11-29 13:35:12 -05:00
|
|
|
void DrawBegin(bool clear=true);
|
2015-08-09 12:51:01 -04:00
|
|
|
void DrawTunerTitles(bool ppmMode=false);
|
2021-04-04 22:20:33 -04:00
|
|
|
void DrawDeviceName(const std::string& deviceName);
|
2014-12-26 23:28:18 -05:00
|
|
|
void DrawDivider();
|
|
|
|
void DrawEnd();
|
2014-11-12 21:55:11 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
};
|