|
#include "grid.h"
|
|
|
|
int gridHelper(SDL_Rect* rect, int index, SDL_Rect screen, int zoom, int page){
|
|
rect->y = 0;
|
|
rect->x = screen.w/10 * index * zoom / 10;
|
|
|
|
//printf("index %i -- x = %i | y = %i | w = %i | h = %i\n", index, rect->x, rect->y, rect->w, rect->h);
|
|
}
|