Changeset 605


Ignore:
Timestamp:
May 8, 2011, 5:32:32 PM (6 years ago)
Author:
sam
Message:

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

Location:
abuse/trunk/src
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/Makefile.am

    r585 r605  
    6060    gamma.cpp gamma.h \
    6161    id.h netface.h isllist.h sbar.h \
    62     nfserver.h exitproc.h \
     62    nfserver.h \
    6363    \
    64     ui/volumewindow.cpp volumewindow.h \
     64    ui/volumewindow.cpp ui/volumewindow.h \
    6565    $(NULL)
    6666
  • abuse/trunk/src/imlib/Makefile.am

    r552 r605  
    2626    jwindow.cpp jwindow.h \
    2727    video.cpp video.h \
    28     event.h mouse.h timing.h jdir.h \
     28    event.h mouse.h timing.h jdir.h visobj.h \
    2929    $(NULL)
    3030
  • 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.