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

« back to all changes in this revision

Viewing changes to src/plugins/contrib/wxSmithContribItems/wxflatnotebook/wxFlatNotebook/include/wx/wxFlatNotebook/popup_dlg.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:
 
1
///////////////////////////////////////////////////////////////////////////////
 
2
// Name:                popup_dlg.h
 
3
// Purpose:             declaration of the navigation dialog
 
4
// Author:      Eran Ifrah <eran.ifrah@gmail.com>
 
5
// Created:     30/12/2005
 
6
// Modified:    01/01/2006
 
7
// Copyright:   Eran Ifrah (c)
 
8
// Licence:     wxWindows license <http://www.wxwidgets.org/licence3.txt>
 
9
///////////////////////////////////////////////////////////////////////////////
 
10
#ifndef FNB_POPUPDLG_H
 
11
#define FNB_POPUPDLG_H
 
12
 
 
13
#include <wx/dialog.h>
 
14
#include <map>
 
15
#include <wx/bitmap.h>
 
16
 
 
17
class wxListBox;
 
18
class wxFlatNotebook;
 
19
class wxPanel;
 
20
 
 
21
class wxTabNavigatorWindow : public wxDialog
 
22
{
 
23
protected:
 
24
        wxListBox *m_listBox;
 
25
        long m_selectedItem;
 
26
        std::map<int, int> m_indexMap;
 
27
        wxPanel *m_panel;
 
28
        static wxBitmap m_bmp;
 
29
 
 
30
protected:
 
31
        void CloseDialog();
 
32
 
 
33
public:
 
34
        /**
 
35
         * Parameterized constructor
 
36
         * \param parent dialog parent window
 
37
         */
 
38
        wxTabNavigatorWindow(wxWindow* parent);
 
39
 
 
40
        /**
 
41
         * Default constructor
 
42
         */
 
43
        wxTabNavigatorWindow();
 
44
 
 
45
        /**
 
46
         * Destructor
 
47
         */
 
48
        virtual ~wxTabNavigatorWindow();
 
49
 
 
50
        /**
 
51
         * Create the dialog, usually part of the two steps construction of a 
 
52
         * dialog
 
53
         * \param parent dialog parent window
 
54
         */
 
55
        void Create(wxWindow* parent);
 
56
 
 
57
        /// Event handling
 
58
        void OnKeyUp(wxKeyEvent &event);
 
59
        void OnNavigationKey(wxNavigationKeyEvent &event);
 
60
        void OnItemSelected(wxCommandEvent &event);
 
61
        void OnPanelPaint(wxPaintEvent &event);
 
62
        void OnPanelEraseBg(wxEraseEvent &event);
 
63
        void PopulateListControl(wxFlatNotebook *book);
 
64
};
 
65
 
 
66
#endif // FNB_POPUPDLG_H
 
67