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

« back to all changes in this revision

Viewing changes to src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/legend.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:
5
5
// Modified by:
6
6
// Created:
7
7
// Copyright:   (C) 2006, Paolo Gava
8
 
// RCS-ID:      $Id: legend.h 4669 2007-11-24 14:54:50Z killerbot $
 
8
// RCS-ID:      $Id: legend.h 5987 2009-12-29 08:24:01Z killerbot $
9
9
// Licence:     wxWindows licence
10
10
/////////////////////////////////////////////////////////////////////////////
11
11
 
15
15
//----------------------------------------------------------------------------
16
16
// Headers
17
17
//----------------------------------------------------------------------------
 
18
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 
19
#pragma interface "legend.h"
 
20
#endif
18
21
 
19
22
// For compilers that support precompilation, includes "wx.h".
20
23
#include <wx/wxprec.h>
57
60
    int m_x;
58
61
    int m_y;
59
62
    int m_d;
60
 
    bool m_sel;
 
63
    bool m_sel;       
61
64
    ArrowDescriptor() : m_x(0), m_y(0), m_d(0), m_sel(false) {};
62
65
};
63
66
 
68
71
 
69
72
//+++-S-cd-------------------------------------------------------------------
70
73
//      NAME:           wxLegend
71
 
//      DESC:
 
74
//      DESC:           
72
75
//      INTERFACE:
73
76
//
74
77
//----------------------------------------------------------------------E-+++
75
78
class WXDLLIMPEXP_CHART wxLegend
76
79
{
77
80
public:
78
 
 
 
81
    
79
82
    // ctor
80
83
    //-----
81
84
    wxLegend();
88
91
    // Redraw arraw whne mouse over
89
92
    //-----------------------------
90
93
    void DrawArrow(CHART_HPAINT hp, int pos, bool over);
91
 
 
 
94
    
92
95
    // Dec/Inc page
93
96
    //-------------
94
97
    void IncPage();
114
117
 
115
118
    // Drawing Utilities
116
119
    //------------------
117
 
    void DrawArrow(CHART_HPAINT hp, int x, int y, int size,
 
120
    void DrawArrow(CHART_HPAINT hp, int x, int y, int size, 
118
121
                   int pos, bool over);
119
122
    void WriteLabel(CHART_HPAINT hp, int x, int y, int page);
120
123
 
121
124
    // Get number of pages
122
125
    //--------------------
123
126
    int NumPages() const;
124
 
 
 
127
   
125
128
};
126
129
 
127
130
#endif // __LEGEND_H__