Browse Source

* Changed Cucul::Rotate() to Cucul::Rotate180() and Cucul::RotateLeft() and Cucul::RotateRight()

tags/v0.99.beta14
Jean-Yves Lamoureux jylam 16 years ago
parent
commit
e9dd9ce036
2 changed files with 14 additions and 2 deletions
  1. +11
    -1
      cxx/cucul++.cpp
  2. +3
    -1
      cxx/cucul++.h

+ 11
- 1
cxx/cucul++.cpp View File

@@ -151,11 +151,21 @@ void Cucul::Flop()
cucul_flop(cv); cucul_flop(cv);
} }


void Cucul::Rotate()
void Cucul::Rotate180()
{ {
cucul_rotate_180(cv); cucul_rotate_180(cv);
} }


void Cucul::RotateLeft()
{
cucul_rotate_left(cv);
}

void Cucul::RotateRight()
{
cucul_rotate_right(cv);
}

void Cucul::drawLine(int x1, int y1, int x2, int y2, uint32_t ch) void Cucul::drawLine(int x1, int y1, int x2, int y2, uint32_t ch)
{ {
cucul_draw_line(cv, x1, y1, x2, y2, ch); cucul_draw_line(cv, x1, y1, x2, y2, ch);


+ 3
- 1
cxx/cucul++.h View File

@@ -113,7 +113,9 @@ __class Cucul
void Invert(); void Invert();
void Flip(); void Flip();
void Flop(); void Flop();
void Rotate();
void Rotate180();
void RotateLeft();
void RotateRight();
void drawLine(int, int, int, int, uint32_t); void drawLine(int, int, int, int, uint32_t);
void drawPolyline(int const x[], int const y[], int, uint32_t); void drawPolyline(int const x[], int const y[], int, uint32_t);
void drawThinLine(int, int, int, int); void drawThinLine(int, int, int, int);


Loading…
Cancel
Save