pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/input dummy_scroller.hxx,NONE,1.1 Mak


From: torangan
Subject: [Pingus-CVS] CVS: Games/Pingus/src/input dummy_scroller.hxx,NONE,1.1 Makefile.am,1.16,1.17
Date: 12 Jul 2002 15:08:04 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/input
In directory dark:/tmp/cvs-serv27290

Modified Files:
        Makefile.am 
Added Files:
        dummy_scroller.hxx 
Log Message:
dummy scroller


--- NEW FILE: dummy_scroller.hxx ---
//  $Id: dummy_scroller.hxx,v 1.1 2002/07/12 15:08:01 torangan Exp $
// 
//  Pingus - A free Lemmings clone
//  Copyright (C) 2000 Ingo Ruhnke <address@hidden>
//
//  This program is free software; you can redistribute it and/or
//  modify it under the terms of the GNU General Public License
//  as published by the Free Software Foundation; either version 2
//  of the License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
// 
//  You should have received a copy of the GNU General Public License
//  along with this program; if not, write to the Free Software
//  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

#ifndef HEADER_PINGUS_INPUT_DUMMY_SCROLLER_HXX
#define HEADER_PINGUS_INPUT_DUMMY_SCROLLER_HXX

#include "scroller.hxx"

namespace Input {

  class DummyScroller : public Scroller {
    public:
      
      float get_x_delta () { return 0; }
      float get_y_delta () { return 0; }
      
      void  get_delta (float&, float&) { }
      
      void  update (float) { }
  };
}

#endif

/* EOF */

Index: Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/input/Makefile.am,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- Makefile.am 11 Jul 2002 15:15:19 -0000      1.16
+++ Makefile.am 12 Jul 2002 15:08:01 -0000      1.17
@@ -32,8 +32,10 @@
        dummy_axis.hxx \
        dummy_button.hxx \
        dummy_pointer.hxx \
+       dummy_scroller.hxx \
        event.hxx \
        inverted_axis.hxx inverted_axis.cxx \
+       inverted_scroller.hxx inverted_scroller.cxx \
        joystick_axis.hxx joystick_axis.cxx \
         joystick_button.hxx joystick_button.cxx \
        joystick_scroller.hxx joystick_scroller.cxx \
@@ -46,11 +48,13 @@
        multiple_axis.hxx multiple_axis.cxx \
        multiple_button.hxx multiple_button.cxx \
        multiple_pointer.hxx multiple_pointer.cxx \
+       multiple_scroller.hxx multiple_scroller.cxx \
         pointer.hxx \
        pointer_event.hxx \
        pointer_factory.hxx pointer_factory.cxx \
        pointer_scroller.hxx pointer_scroller.cxx \
        scroller.hxx \
+       scroller_factory.hxx scroller_factory.cxx \
        scroll_event.hxx \
        triple_button.hxx triple_button.cxx
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]