diff --git a/programs/cmm/TWB/img.h b/programs/cmm/TWB/img.h index fcba9ccdc4..66a4679d07 100644 --- a/programs/cmm/TWB/img.h +++ b/programs/cmm/TWB/img.h @@ -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]; @@ -131,4 +134,14 @@ void ImageCache::Images(dword left1, top1, width1) ImageCache ImgCache; -*/ \ No newline at end of file +*/ + +#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 \ No newline at end of file diff --git a/programs/cmm/codeview/codeview.c b/programs/cmm/codeview/codeview.c index 1e10ae4198..457c146e65 100644 --- a/programs/cmm/codeview/codeview.c +++ b/programs/cmm/codeview/codeview.c @@ -1,5 +1,6 @@ #define MEMSIZE 4096 * 200 +#define NO_IMG true //libraries #include "..\lib\gui.h"