From 33d1f067b6c80fd24a892f730e94cf78a5cb7a2b Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Tue, 28 Sep 2010 18:54:50 +0000 Subject: [PATCH] [CHG] Private functions --- GRRLIB/GRRLIB/GRRLIB_core.c | 2 +- GRRLIB/GRRLIB/grrlib/GRRLIB__lib.h | 4 +-- .../grrlib/{GRRLIB_ttf.h => GRRLIB_private.h} | 26 +++++++++++++++++++ 3 files changed, 29 insertions(+), 3 deletions(-) rename GRRLIB/GRRLIB/grrlib/{GRRLIB_ttf.h => GRRLIB_private.h} (62%) diff --git a/GRRLIB/GRRLIB/GRRLIB_core.c b/GRRLIB/GRRLIB/GRRLIB_core.c index a840a60..ce55b45 100644 --- a/GRRLIB/GRRLIB/GRRLIB_core.c +++ b/GRRLIB/GRRLIB/GRRLIB_core.c @@ -28,7 +28,7 @@ THE SOFTWARE. #define __GRRLIB_CORE__ #include -#include "grrlib/GRRLIB_ttf.h" +#include "grrlib/GRRLIB_private.h" #define DEFAULT_FIFO_SIZE (256 * 1024) /**< GX fifo buffer size. */ diff --git a/GRRLIB/GRRLIB/grrlib/GRRLIB__lib.h b/GRRLIB/GRRLIB/grrlib/GRRLIB__lib.h index ee27473..fafc194 100644 --- a/GRRLIB/GRRLIB/grrlib/GRRLIB__lib.h +++ b/GRRLIB/GRRLIB/grrlib/GRRLIB__lib.h @@ -128,8 +128,8 @@ void GRRLIB_Render (void); //------------------------------------------------------------------------------ // GRRLIB_snapshot.c - Create a texture containing a snapshot of a part of the framebuffer void GRRLIB_Screen2Texture (int posx, int posy, GRRLIB_texImg *tex, bool clear); -void GRRLIB_CompoStart (void); -void GRRLIB_CompoEnd(int posx, int posy, GRRLIB_texImg *tex); +void GRRLIB_CompoStart (void); +void GRRLIB_CompoEnd(int posx, int posy, GRRLIB_texImg *tex); //------------------------------------------------------------------------------ // GRRLIB_texEdit.c - Modifying the content of a texture diff --git a/GRRLIB/GRRLIB/grrlib/GRRLIB_ttf.h b/GRRLIB/GRRLIB/grrlib/GRRLIB_private.h similarity index 62% rename from GRRLIB/GRRLIB/grrlib/GRRLIB_ttf.h rename to GRRLIB/GRRLIB/grrlib/GRRLIB_private.h index dfab5e4..e3274df 100644 --- a/GRRLIB/GRRLIB/grrlib/GRRLIB_ttf.h +++ b/GRRLIB/GRRLIB/grrlib/GRRLIB_private.h @@ -20,5 +20,31 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------*/ +/* + * @file GRRLIB_private.h + * The symbols declared in this file are PRIVATE. + * They are not part of the GRRLIB public + * interface, and are not recommended for use by regular applications. + * Some of them may become public in the future; others may stay private, + * change in an incompatible way, or even disappear. + */ + +#ifndef __GRRLIB_PRIVATE_H__ +#define __GRRLIB_PRIVATE_H__ + +#include + +/** + * Used for version checking. + * @param a Major version number. + * @param b Minor version number. + * @param c Revision version number. + */ +#define GRRLIB_VERSION(a,b,c) ((a)*65536+(b)*256+(c)) + +//------------------------------------------------------------------------------ +// GRRLIB_ttf.c - FreeType function for GRRLIB int GRRLIB_InitTTF(); void GRRLIB_ExitTTF(); + +#endif // __GRRLIB_PRIVATE_H__