fix build

git-svn-id: svn://kolibrios.org@8017 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2020-06-01 22:28:28 +00:00
parent 5ea0b92f65
commit 7efaa73140
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,4 @@
struct _img
{
collection url;
@ -12,6 +13,8 @@ struct _img
void draw();
};
#ifndef NO_IMG
dword _img::add(dword _path, _x, _y)
{
char full_path[URL_SIZE];
@ -132,3 +135,13 @@ void ImageCache::Images(dword left1, top1, width1)
ImageCache ImgCache;
*/
#else
dword _img::add(dword _path, _x, _y) {};
void _img::clear() {};
dword _img::current_url() {};
bool _img::next_url() {};
void _img::set_data(dword _data, _data_len) {};
void _img::draw(int _x, _y, _start, _height) {};
#endif

View File

@ -1,5 +1,6 @@
#define MEMSIZE 4096 * 200
#define NO_IMG true
//libraries
#include "..\lib\gui.h"