Atrinik Client 2.5
Defines
include/book.h File Reference

Go to the source code of this file.

Defines

#define BOOK_CONTENT_WIDTH   (Bitmaps[BITMAP_BOOK]->bitmap->w - 90)
#define BOOK_CONTENT_HEIGHT   (Bitmaps[BITMAP_BOOK]->bitmap->h - 80)
#define BOOK_BACKGROUND_X   (ScreenSurface->w / 2 - Bitmaps[BITMAP_BOOK]->bitmap->w / 2)
#define BOOK_BACKGROUND_Y   (ScreenSurface->h / 2 - Bitmaps[BITMAP_BOOK]->bitmap->h / 2)

Detailed Description

Book GUI header.

Definition in file book.h.


Define Documentation

#define BOOK_BACKGROUND_X   (ScreenSurface->w / 2 - Bitmaps[BITMAP_BOOK]->bitmap->w / 2)

X position of the book.

Definition at line 39 of file book.h.

#define BOOK_BACKGROUND_Y   (ScreenSurface->h / 2 - Bitmaps[BITMAP_BOOK]->bitmap->h / 2)

Y position of the book.

Definition at line 41 of file book.h.

#define BOOK_CONTENT_HEIGHT   (Bitmaps[BITMAP_BOOK]->bitmap->h - 80)

Maximum height of the book content.

Definition at line 36 of file book.h.

#define BOOK_CONTENT_WIDTH   (Bitmaps[BITMAP_BOOK]->bitmap->w - 90)

Maximum width of the book content.

Definition at line 34 of file book.h.