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

« back to all changes in this revision

Viewing changes to src/sdk/wxscintilla/src/scintilla/src/XPM.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 XPM_H
9
9
#define XPM_H
10
10
 
 
11
#ifdef SCI_NAMESPACE
 
12
namespace Scintilla {
 
13
#endif
 
14
 
11
15
/**
12
16
 * Hold a pixmap in XPM format.
13
17
 */
14
18
class XPM {
15
 
        int id;         // Assigned by container
 
19
        int pid;                // Assigned by container
16
20
        int height;
17
21
        int width;
18
22
        int nColours;
38
42
        /// Decompose image into runs and use FillRectangle for each run
39
43
        void Draw(Surface *surface, PRectangle &rc);
40
44
        char **InLinesForm() { return lines; }
41
 
        void SetId(int id_) { id = id_; }
42
 
        int GetId() { return id; }
 
45
        void SetId(int pid_) { pid = pid_; }
 
46
        int GetId() { return pid; }
43
47
        int GetHeight() { return height; }
44
48
        int GetWidth() { return width; }
45
49
        static const char **LinesFormFromTextForm(const char *textForm);
69
73
        int GetWidth();
70
74
};
71
75
 
 
76
#ifdef SCI_NAMESPACE
 
77
}
 
78
#endif
 
79
 
72
80
#endif