2005-11-22 12:26:26 +00:00
|
|
|
// Scintilla source code edit control
|
|
|
|
/** @file Indicator.h
|
|
|
|
** Defines the style of indicators which are text decorations such as underlining.
|
|
|
|
**/
|
|
|
|
// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
|
|
|
|
// The License.txt file describes the conditions under which this software may be distributed.
|
|
|
|
|
|
|
|
#ifndef INDICATOR_H
|
|
|
|
#define INDICATOR_H
|
|
|
|
|
2007-06-18 13:02:34 +00:00
|
|
|
#ifdef SCI_NAMESPACE
|
|
|
|
namespace Scintilla {
|
|
|
|
#endif
|
|
|
|
|
2005-11-22 12:26:26 +00:00
|
|
|
/**
|
|
|
|
*/
|
|
|
|
class Indicator {
|
|
|
|
public:
|
|
|
|
int style;
|
2007-06-18 13:02:34 +00:00
|
|
|
bool under;
|
2005-11-22 12:26:26 +00:00
|
|
|
ColourPair fore;
|
2009-05-03 17:49:33 +00:00
|
|
|
int fillAlpha;
|
|
|
|
Indicator() : style(INDIC_PLAIN), under(false), fore(ColourDesired(0,0,0)), fillAlpha(30) {
|
2005-11-22 12:26:26 +00:00
|
|
|
}
|
|
|
|
void Draw(Surface *surface, const PRectangle &rc, const PRectangle &rcLine);
|
|
|
|
};
|
|
|
|
|
2007-06-18 13:02:34 +00:00
|
|
|
#ifdef SCI_NAMESPACE
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2005-11-22 12:26:26 +00:00
|
|
|
#endif
|