Ignore:
Timestamp:
May 8, 2011, 5:32:32 PM (11 years ago)
Author:
Sam Hocevar
Message:

build: fix errors in the makefiles that prevent `make dist' from working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/visobj.h

    r579 r605  
    1717class visual_object
    1818{
    19   public :
    20   virtual void draw(image *screen, int x, int y, Filter *f) = 0;
    21   virtual int width() = 0;
    22   virtual int height() = 0;
    23   virtual ~visual_object() { }
    24 } ;
    25 
    26 
    27 
    28 class image_visual : public visual_object
    29 {
    30   public :
    31   image *im;
    32 
    33   image_visual(image *img) { im=img; }
    34   virtual void draw(image *screen, int x, int y, Filter *f);
    35   virtual int width() { return im->Size().x; }
    36   virtual int height() { return im->Size().y; }
    37 } ;
    38 
    39 
    40 class string_visual : public visual_object
    41 {
    42   char *st;
    43   int color;
    44   int w,h;
    45   public :
    46   string_visual(char *string, int Color);
    47   virtual void draw(image *screen, int x, int y, Filter *f);
    48   virtual int width();
    49   virtual int height();
    50 } ;
    51 
     19public:
     20    virtual void draw(image *screen, int x, int y, Filter *f) = 0;
     21    virtual int width() = 0;
     22    virtual int height() = 0;
     23    virtual ~visual_object() { }
     24};
    5225
    5326#endif
     27
Note: See TracChangeset for help on using the changeset viewer.