summaryrefslogtreecommitdiffstats
path: root/menu_demo/bitmap.h
blob: 3aaf5d1aa6c341f713ba4f4248ccf060e8a77107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _CBITMAP_H
#define _CBITMAP_H

struct BitmapStruct {
  int m_iImageId;
  int m_iWidth;
  int m_iHeight;
};

struct BitmapStruct BitmapLoad(char *filename);
void BitmapRender(int f_iXPos, int f_iYPos, int f_iWidth, int f_iHeight, int f_iImageId);
void BitmapConvertWidth(struct BitmapStruct *f_sImage, double f_dHeight);

#endif