MythTV master
Classes | Typedefs | Enumerations | Functions | Variables
lines.h File Reference
#include <cstdint>
#include "graphic.h"
#include "goom_core.h"
Include dependency graph for lines.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GMUnitPointer
 
struct  GMLine
 

Typedefs

using GMUnitArray = std::array< GMUnitPointer, LINENUMPOINTS >
 

Enumerations

enum  GML_TYPE : uint8_t { GML_CIRCLE = 0 , GML_HLINE = 1 , GML_VLINE = 2 }
 
enum  GML_COLOR : uint8_t {
  GML_BLEUBLANC = 0 , GML_RED = 1 , GML_ORANGE_V = 2 , GML_ORANGE_J = 3 ,
  GML_VERT = 4 , GML_BLEU = 5 , GML_BLACK = 6
}
 

Functions

GMLinegoom_lines_init (int rx, int ry, int IDsrc, float paramS, int coulS, int IDdest, float paramD, int coulD)
 
void goom_lines_switch_to (GMLine *gml, int IDdest, float param, float amplitude, int col)
 
void goom_lines_set_res (GMLine *gml, int rx, int ry)
 
void goom_lines_free (GMLine **gml)
 
void goom_lines_draw (GMLine *line, const GoomSingleData &data, unsigned int *p)
 

Variables

static const int LINENUMPOINTS { 512 }
 

Typedef Documentation

◆ GMUnitArray

Definition at line 22 of file lines.h.

Enumeration Type Documentation

◆ GML_COLOR

enum GML_COLOR : uint8_t
Enumerator
GML_BLEUBLANC 
GML_RED 
GML_ORANGE_V 
GML_ORANGE_J 
GML_VERT 
GML_BLEU 
GML_BLACK 

Definition at line 56 of file lines.h.

◆ GML_TYPE

enum GML_TYPE : uint8_t
Enumerator
GML_CIRCLE 
GML_HLINE 
GML_VLINE 

Definition at line 42 of file lines.h.

Function Documentation

◆ goom_lines_draw()

void goom_lines_draw ( GMLine line,
const GoomSingleData data,
unsigned int *  p 
)

Definition at line 198 of file lines.cpp.

Referenced by goom_update().

◆ goom_lines_free()

void goom_lines_free ( GMLine **  gml)

Definition at line 191 of file lines.cpp.

Referenced by goom_close().

◆ goom_lines_init()

GMLine * goom_lines_init ( int  rx,
int  ry,
int  IDsrc,
float  paramS,
int  coulS,
int  IDdest,
float  paramD,
int  coulD 
)

Definition at line 158 of file lines.cpp.

Referenced by goom_init().

◆ goom_lines_set_res()

void goom_lines_set_res ( GMLine gml,
int  rx,
int  ry 
)

Definition at line 99 of file lines.cpp.

Referenced by goom_set_resolution().

◆ goom_lines_switch_to()

void goom_lines_switch_to ( GMLine gml,
int  IDdest,
float  param,
float  amplitude,
int  col 
)

Definition at line 146 of file lines.cpp.

Referenced by goom_lines_init(), and goom_update().

Variable Documentation

◆ LINENUMPOINTS

const int LINENUMPOINTS { 512 }
static

Definition at line 21 of file lines.h.

Referenced by genline(), goom_lines_draw(), and goom_lines_move().