LMMS
Loading...
Searching...
No Matches
OpenGL.cpp File Reference
#include "../OpenGL.hpp"
#include "../Color.hpp"
#include "../ImageWidgets.hpp"
#include "SubWidgetPrivateData.hpp"
#include "TopLevelWidgetPrivateData.hpp"
#include "WidgetPrivateData.hpp"
#include "WindowPrivateData.hpp"
#include "ImageBaseWidgets.cpp"

Macros

#define DGL_USE_COMPAT_OPENGL

Functions

template<typename T>
static void drawLine (const Point< T > &posStart, const Point< T > &posEnd)
template<typename T>
static void drawCircle (const Point< T > &pos, const uint numSegments, const float size, const float sin, const float cos, const bool outline)
template<typename T>
static void drawTriangle (const Point< T > &pos1, const Point< T > &pos2, const Point< T > &pos3, const bool outline)
template<typename T>
static void drawRectangle (const Rectangle< T > &rect, const bool outline)
static void setupOpenGLImage (const OpenGLImage &image, GLuint textureId)
static void drawOpenGLImage (const OpenGLImage &image, const Point< int > &pos, const GLuint textureId, bool &setupCalled)

Macro Definition Documentation

◆ DGL_USE_COMPAT_OPENGL

#define DGL_USE_COMPAT_OPENGL

Function Documentation

◆ drawCircle()

template<typename T>
void drawCircle ( const Point< T > & pos,
const uint numSegments,
const float size,
const float sin,
const float cos,
const bool outline )
static

◆ drawLine()

template<typename T>
void drawLine ( const Point< T > & posStart,
const Point< T > & posEnd )
static

◆ drawOpenGLImage()

void drawOpenGLImage ( const OpenGLImage & image,
const Point< int > & pos,
const GLuint textureId,
bool & setupCalled )
static

◆ drawRectangle()

template<typename T>
void drawRectangle ( const Rectangle< T > & rect,
const bool outline )
static

◆ drawTriangle()

template<typename T>
void drawTriangle ( const Point< T > & pos1,
const Point< T > & pos2,
const Point< T > & pos3,
const bool outline )
static

◆ setupOpenGLImage()

void setupOpenGLImage ( const OpenGLImage & image,
GLuint textureId )
static