~ubuntu-branches/ubuntu/precise/geany/precise-201203210702

« back to all changes in this revision

Viewing changes to scintilla/Indicator.h

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2011-12-10 07:43:26 UTC
  • mfrom: (3.3.7 sid)
  • Revision ID: package-import@ubuntu.com-20111210074326-s8yqbew5i20h33tf
Tags: 0.21-1ubuntu1
* Merge from Debian Unstable, remaining changes:
  - debian/patches/20_use_evince_viewer.patch:
     + use evince as viewer for pdf and dvi files
  - debian/patches/20_use_x_terminal_emulator.patch:
     + use x-terminal-emulator as terminal
  - debian/control
     + Add breaks on geany-plugins-common << 0.20
* Also fixes bugs:
  - Filter for MATLAB/Octave files filters everythign (LP: 885505)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Scintilla source code edit control
2
 
/** @file Indicator.h
3
 
 ** Defines the style of indicators which are text decorations such as underlining.
4
 
 **/
5
 
// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
6
 
// The License.txt file describes the conditions under which this software may be distributed.
7
 
 
8
 
#ifndef INDICATOR_H
9
 
#define INDICATOR_H
10
 
 
11
 
#ifdef SCI_NAMESPACE
12
 
namespace Scintilla {
13
 
#endif
14
 
 
15
 
/**
16
 
 */
17
 
class Indicator {
18
 
public:
19
 
        int style;
20
 
        bool under;
21
 
        ColourPair fore;
22
 
        int fillAlpha;
23
 
        Indicator() : style(INDIC_PLAIN), under(false), fore(ColourDesired(0,0,0)), fillAlpha(30) {
24
 
        }
25
 
        void Draw(Surface *surface, const PRectangle &rc, const PRectangle &rcLine);
26
 
};
27
 
 
28
 
#ifdef SCI_NAMESPACE
29
 
}
30
 
#endif
31
 
 
32
 
#endif