Copying ede-bug-report from branches in trunk

This commit is contained in:
Sanel Zukan
2009-07-03 14:23:51 +00:00
parent bfed428c37
commit 66e586f37f
138 changed files with 35380 additions and 0 deletions

View File

@ -0,0 +1,42 @@
/*
* $Id$
*
* ede-bug-report, a tool to report bugs on EDE bugzilla instance
* Part of Equinox Desktop Environment (EDE).
* Copyright (c) 2009 EDE Authors.
*
* This program is licensed under terms of the
* GNU General Public License version 2 or newer.
* See COPYING for details.
*/
#ifndef __PULSEPROGRESS_H__
#define __PULSEPROGRESS_H__
#include <FL/Fl_Widget.H>
class PulseProgress : public Fl_Widget {
private:
int cprogress; /* current progress */
int blen; /* bar length */
int slen; /* step length */
protected:
void draw(void);
public:
PulseProgress(int x, int y, int w, int h, const char *l = 0);
void bar_len(int l) { blen = l; }
int bar_len(void) { return blen; }
void step_len(int l) { slen = l; }
int step_len(void) { return slen; }
void step(void);
void restart(void) { cprogress = 0; }
};
#endif