LineAnnotation.h 581 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
/* 
 * File:   LineAnnotation.h
 * Author: user
 *
 * Created on July 27, 2014, 10:35 AM
 */

#ifndef LINEANNOTATION_H
#define	LINEANNOTATION_H

//#include "Message.h"
#include "../ColorConverter.h"
#include "Annotation.h"
#include <stdio.h>
#include <SDL/SDL.h>

using namespace std;

class LineAnnotation : public Annotation{
public:
    LineAnnotation(int timestamp, Inflater* in);
    virtual ~LineAnnotation();
    void draw(SDL_Surface *screen, ProtocolPreferences* prefs);
    
private:

    char color;
    short startX,startY,endX,endY;
};

#endif	/* LINEANNOTATION_H */