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

« back to all changes in this revision

Viewing changes to src/plugins/contrib/BrowseTracker/ConfigDlg.cpp

  • 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
 
// C++ code generated with wxFormBuilder (version Dec 17 2007)
3
 
// http://www.wxformbuilder.org/
4
 
//
5
 
// PLEASE DO "NOT" EDIT THIS FILE!
6
 
///////////////////////////////////////////////////////////////////////////
7
 
 
8
 
#include "wx/wxprec.h"
9
 
 
10
 
#ifdef __BORLANDC__
11
 
#pragma hdrstop
12
 
#endif //__BORLANDC__
13
 
 
14
 
#ifndef WX_PRECOMP
15
 
#include <wx/wx.h>
16
 
#endif //WX_PRECOMP
17
 
 
18
 
#include "ConfigDlg.h"
19
 
 
20
 
///////////////////////////////////////////////////////////////////////////
21
 
 
22
 
ConfigDlg::ConfigDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
23
 
{
24
 
        this->SetSizeHints( wxDefaultSize, wxDefaultSize );
25
 
        
26
 
        wxBoxSizer* bSizer3;
27
 
        bSizer3 = new wxBoxSizer( wxVERTICAL );
28
 
        
29
 
        m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("BrowseTracker Options"), wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );
30
 
        m_staticText2->Wrap( -1 );
31
 
        bSizer3->Add( m_staticText2, 0, wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND, 5 );
32
 
        
33
 
        
34
 
        bSizer3->Add( 0, 10, 0, 0, 5 );
35
 
        
36
 
        wxBoxSizer* bSizer7;
37
 
        bSizer7 = new wxBoxSizer( wxVERTICAL );
38
 
        
39
 
        Cfg_BrowseMarksEnabled = new wxCheckBox( this, wxID_ANY, wxT("Enable BrowseMarks"), wxDefaultPosition, wxDefaultSize, 0 );
40
 
        
41
 
        bSizer7->Add( Cfg_BrowseMarksEnabled, 1, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
42
 
        
43
 
        bSizer3->Add( bSizer7, 0, wxALIGN_CENTER_HORIZONTAL|wxEXPAND|wxSHAPED, 5 );
44
 
        
45
 
        wxBoxSizer* bSizer6;
46
 
        bSizer6 = new wxBoxSizer( wxHORIZONTAL );
47
 
        
48
 
        wxString Cfg_MarkStyleChoices[] = { wxT("Browse_Marks  "), wxT("Book_Marks"), wxT("Hide") };
49
 
        int Cfg_MarkStyleNChoices = sizeof( Cfg_MarkStyleChoices ) / sizeof( wxString );
50
 
        Cfg_MarkStyle = new wxRadioBox( this, wxID_ANY, wxT("Mark style"), wxDefaultPosition, wxDefaultSize, Cfg_MarkStyleNChoices, Cfg_MarkStyleChoices, 3, wxRA_SPECIFY_COLS );
51
 
        Cfg_MarkStyle->SetSelection( 2 );
52
 
        bSizer6->Add( Cfg_MarkStyle, 1, wxALL, 5 );
53
 
        
54
 
        bSizer3->Add( bSizer6, 1, wxEXPAND, 5 );
55
 
        
56
 
        wxBoxSizer* bSizer8;
57
 
        bSizer8 = new wxBoxSizer( wxVERTICAL );
58
 
        
59
 
        wxString Cfg_ToggleKeyChoices[] = { wxT("Left_Mouse"), wxT("Ctrl-Left_Mouse") };
60
 
        int Cfg_ToggleKeyNChoices = sizeof( Cfg_ToggleKeyChoices ) / sizeof( wxString );
61
 
        Cfg_ToggleKey = new wxRadioBox( this, wxID_ANY, wxT("Toggle BrowseMark Key"), wxDefaultPosition, wxDefaultSize, Cfg_ToggleKeyNChoices, Cfg_ToggleKeyChoices, 3, wxRA_SPECIFY_COLS );
62
 
        Cfg_ToggleKey->SetSelection( 0 );
63
 
        bSizer8->Add( Cfg_ToggleKey, 0, wxALL|wxEXPAND, 5 );
64
 
        
65
 
        bSizer3->Add( bSizer8, 1, wxEXPAND, 5 );
66
 
        
67
 
        wxBoxSizer* bSizer9;
68
 
        bSizer9 = new wxBoxSizer( wxVERTICAL );
69
 
        
70
 
        m_staticText4 = new wxStaticText( this, wxID_ANY, wxT(" Left_Mouse Toggle Delay (Milliseconds)"), wxDefaultPosition, wxDefaultSize, 0 );
71
 
        m_staticText4->Wrap( -1 );
72
 
        bSizer9->Add( m_staticText4, 0, wxALL|wxEXPAND, 5 );
73
 
        
74
 
        Cfg_LeftMouseDelay = new wxSlider( this, wxID_ANY, 200, 0, 1000, wxDefaultPosition, wxDefaultSize, wxSL_AUTOTICKS|wxSL_HORIZONTAL|wxSL_LABELS );
75
 
        bSizer9->Add( Cfg_LeftMouseDelay, 1, wxALL|wxEXPAND, 5 );
76
 
        
77
 
        bSizer3->Add( bSizer9, 1, wxEXPAND, 5 );
78
 
        
79
 
        wxBoxSizer* bSizer10;
80
 
        bSizer10 = new wxBoxSizer( wxVERTICAL );
81
 
        
82
 
        wxString Cfg_ClearAllKeyChoices[] = { wxT("Ctrl-Left_Mouse"), wxT("Ctrl-Left_DblClick") };
83
 
        int Cfg_ClearAllKeyNChoices = sizeof( Cfg_ClearAllKeyChoices ) / sizeof( wxString );
84
 
        Cfg_ClearAllKey = new wxRadioBox( this, wxID_ANY, wxT("Clear All BrowseMarks"), wxDefaultPosition, wxDefaultSize, Cfg_ClearAllKeyNChoices, Cfg_ClearAllKeyChoices, 2, wxRA_SPECIFY_COLS );
85
 
        Cfg_ClearAllKey->SetSelection( 1 );
86
 
        bSizer10->Add( Cfg_ClearAllKey, 1, wxALL|wxEXPAND, 5 );
87
 
        
88
 
        bSizer3->Add( bSizer10, 1, wxEXPAND, 5 );
89
 
        
90
 
        wxBoxSizer* bSizer11;
91
 
        bSizer11 = new wxBoxSizer( wxVERTICAL );
92
 
        
93
 
        m_sdbSizer1 = new wxStdDialogButtonSizer();
94
 
        m_sdbSizer1OK = new wxButton( this, wxID_OK );
95
 
        m_sdbSizer1->AddButton( m_sdbSizer1OK );
96
 
        m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
97
 
        m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
98
 
        m_sdbSizer1->Realize();
99
 
        bSizer11->Add( m_sdbSizer1, 1, wxALIGN_CENTER_HORIZONTAL, 5 );
100
 
        
101
 
        bSizer3->Add( bSizer11, 0, wxEXPAND, 5 );
102
 
        
103
 
        this->SetSizer( bSizer3 );
104
 
        this->Layout();
105
 
}
106
 
 
107
 
ConfigDlg::~ConfigDlg()
108
 
{
109
 
}