~ubuntu-branches/ubuntu/raring/codeblocks/raring-proposed

« back to all changes in this revision

Viewing changes to src/sdk/wxscintilla/src/scintilla/src/LineMarker.h

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-08-09 04:38:38 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100809043838-a59ygguym4eg0jgw
Tags: 10.05-0ubuntu1
* New upstream release. Closes (LP: #322350)
 - Switch to dpkg-source 3.0 (quilt) format
 - Remove unneeded README.source
 - Add debian/get-source-orig script that removes all
   Windows prebuilt binaries
* Bump Standards-Version to 3.9.1
 - Stop shipping *.la files
* debian/control
 - Add cdbs package as Build-Depend
 - Add libbz2-dev and zlib1g-dev packages as
   Build-Depends (needed by libhelp_plugin.so)
 - Remove dpatch package of Build-Depends
 - Add codeblocks-contrib-debug package
 - Split architecture-independent files of codeblocks
   package in codeblocks-common package
* debian/rules
 - Switch to CDBS rules system
 - Add parallel build support
 - Add a call to debian/get-source-orig script
 - Use lzma compression (saves 23,5 MB of free space)
* debian/patches
 - Refresh 01_codeblocks_plugin_path
 - Add 02_no_Makefiles_in_debian_dir to remove any link
   in codeblocks build system to deleted Makefiles of debian directory
 - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
* debian/watch
 - Update to use the new host (berlios.de)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
#ifndef LINEMARKER_H
9
9
#define LINEMARKER_H
10
10
 
 
11
#ifdef SCI_NAMESPACE
 
12
namespace Scintilla {
 
13
#endif
 
14
 
11
15
/**
12
16
 */
13
17
class LineMarker {
15
19
        int markType;
16
20
        ColourPair fore;
17
21
        ColourPair back;
 
22
        int alpha;
18
23
        XPM *pxpm;
19
24
        LineMarker() {
20
25
                markType = SC_MARK_CIRCLE;
21
26
                fore = ColourDesired(0,0,0);
22
27
                back = ColourDesired(0xff,0xff,0xff);
 
28
                alpha = SC_ALPHA_NOALPHA;
23
29
                pxpm = NULL;
24
30
        }
25
31
        LineMarker(const LineMarker &) {
27
33
                markType = SC_MARK_CIRCLE;
28
34
                fore = ColourDesired(0,0,0);
29
35
                back = ColourDesired(0xff,0xff,0xff);
 
36
                alpha = SC_ALPHA_NOALPHA;
30
37
                pxpm = NULL;
31
38
        }
32
39
        ~LineMarker() {
37
44
                markType = SC_MARK_CIRCLE;
38
45
                fore = ColourDesired(0,0,0);
39
46
                back = ColourDesired(0xff,0xff,0xff);
 
47
                alpha = SC_ALPHA_NOALPHA;
40
48
                delete pxpm;
41
49
                pxpm = NULL;
42
50
                return *this;
47
55
        void Draw(Surface *surface, PRectangle &rc, Font &fontForCharacter);
48
56
};
49
57
 
 
58
#ifdef SCI_NAMESPACE
 
59
}
 
60
#endif
 
61
 
50
62
#endif