/*
 gFooBar Header
 Copyright (c)2011 Mark Watkins <jedimark@users.sourceforge.net>
 License: GPL
*/

#ifndef GFOOBAR_H
#define GFOOBAR_H

#include "gGraphView.h"

/*! \class gShadowArea
    \brief Displays a Shadow for all graph areas not highlighted (used in Event Flags)
    */
class gShadowArea:public Layer
{
    public:
        gShadowArea(QColor shadow_color=QColor(40,40,40,40),QColor line_color=QColor("blue"));
        virtual ~gShadowArea();
        virtual void paint(gGraph & w,int left, int top, int width, int height);
    protected:
        QColor m_shadow_color;
        QColor m_line_color;
        GLShortBuffer *quads;
        GLShortBuffer *lines;
};

/*! \class gFooBar
    \brief Was a kind of scrollbar thingy that used to be used for representing the overall graph areas.
    Currently Unused and empty.
    */
class gFooBar:public Layer
{
    public:
        gFooBar(int offset=10,QColor handle_color=QColor("orange"),QColor line_color=QColor("dark grey"));
        virtual ~gFooBar();
        virtual void paint(gGraph & w,int left, int top, int width, int height);
        static const int Margin=15;
    protected:
        int m_offset;
        QColor m_handle_color;
        QColor m_line_color;
};

#endif // GFOOBAR_H
