Codebase list pipenightdreams / upstream/0.9.0 src / elbowupleft.h
upstream/0.9.0

Tree @upstream/0.9.0 (Download .tar.gz)

elbowupleft.h @upstream/0.9.0raw · history · blame

/***************************************************************************
                          elbowupleft.h  -  description
                             -------------------
    begin                : Thu Aug 17 2000
    copyright            : (C) 2000 by Waldemar Baraldi
    email                : baraldi@lacasilla.com.ar
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef ELBOW_UP_LEFT_H
#define ELBOW_UP_LEFT_H

#include "pipe.h"

class ElbowUpLeft: public Pipe{

  public:

    ElbowUpLeft();
    ~ElbowUpLeft();

    bool hasConnection(CardinalPoint con);

    CardinalPoint getOutput(CardinalPoint input);

    void restrictAsOutput(CardinalPoint con);

    bool isRestrictedAsOutput(CardinalPoint con);

    void incFullLevel(CardinalPoint input,unsigned int amount);

    int getFullLevel(CardinalPoint input);

    Pointer * getPointer();

    void paint(VideoManager * vm);
};

#endif