From e9dd9ce0368079f0e129f8a09057277319085c69 Mon Sep 17 00:00:00 2001 From: Jean-Yves Lamoureux Date: Wed, 14 May 2008 18:16:56 +0000 Subject: [PATCH] * Changed Cucul::Rotate() to Cucul::Rotate180() and Cucul::RotateLeft() and Cucul::RotateRight() --- cxx/cucul++.cpp | 12 +++++++++++- cxx/cucul++.h | 4 +++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/cxx/cucul++.cpp b/cxx/cucul++.cpp index ae39b39..b5f4bff 100644 --- a/cxx/cucul++.cpp +++ b/cxx/cucul++.cpp @@ -151,11 +151,21 @@ void Cucul::Flop() cucul_flop(cv); } -void Cucul::Rotate() +void Cucul::Rotate180() { 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) { cucul_draw_line(cv, x1, y1, x2, y2, ch); diff --git a/cxx/cucul++.h b/cxx/cucul++.h index 0dfb96f..6c1f076 100644 --- a/cxx/cucul++.h +++ b/cxx/cucul++.h @@ -113,7 +113,9 @@ __class Cucul void Invert(); void Flip(); void Flop(); - void Rotate(); + void Rotate180(); + void RotateLeft(); + void RotateRight(); void drawLine(int, int, int, int, uint32_t); void drawPolyline(int const x[], int const y[], int, uint32_t); void drawThinLine(int, int, int, int);