~ubuntu-branches/ubuntu/hardy/codeblocks/hardy-backports

« back to all changes in this revision

Viewing changes to src/sdk/wxscintilla/samples/test/defsext.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/////////////////////////////////////////////////////////////////////////////
 
2
// Name:        defsext.h extensions
 
3
// Purpose:     wxScintilla test declarations
 
4
// Maintainer:  Otto Wyss
 
5
// Created:     2003-09-01
 
6
// RCS-ID:      $Id: defsext.h 1960 2006-02-07 13:36:51Z thomasdenk $
 
7
// Copyright:   (c) 2004 wxCode
 
8
// Licence:     wxWindows
 
9
//////////////////////////////////////////////////////////////////////////////
 
10
 
 
11
#ifndef _WX_DEFSEXT_H_
 
12
#define _WX_DEFSEXT_H_
 
13
 
 
14
//----------------------------------------------------------------------------
 
15
// headers
 
16
//----------------------------------------------------------------------------
 
17
 
 
18
//! wxWindows headers
 
19
#include <wx/print.h>    // printing support
 
20
#include <wx/printdlg.h> // printing dialog
 
21
 
 
22
 
 
23
//============================================================================
 
24
// declarations
 
25
//============================================================================
 
26
 
 
27
#define DEFAULT_LANGUAGE _("<default>")
 
28
 
 
29
#define PAGE_COMMON _("Common")
 
30
#define PAGE_LANGUAGES _("Languages")
 
31
#define PAGE_STYLE_TYPES _("Style types")
 
32
 
 
33
#define STYLE_TYPES_COUNT 32
 
34
 
 
35
 
 
36
// ----------------------------------------------------------------------------
 
37
// standard IDs
 
38
// ----------------------------------------------------------------------------
 
39
 
 
40
enum {
 
41
    // menu IDs
 
42
    myID_PROPERTIES = wxID_HIGHEST,
 
43
    myID_INDENTINC,
 
44
    myID_INDENTRED,
 
45
    myID_FINDNEXT,
 
46
    myID_REPLACE,
 
47
    myID_REPLACENEXT,
 
48
    myID_BRACEMATCH,
 
49
    myID_GOTO,
 
50
    myID_PAGEACTIVE,
 
51
    myID_DISPLAYEOL,
 
52
    myID_INDENTGUIDE,
 
53
    myID_LINENUMBER,
 
54
    myID_LONGLINEON,
 
55
    myID_WHITESPACE,
 
56
    myID_FOLDTOGGLE,
 
57
    myID_OVERTYPE,
 
58
    myID_READONLY,
 
59
    myID_WRAPMODEON,
 
60
    myID_CHANGECASE,
 
61
    myID_CHANGELOWER,
 
62
    myID_CHANGEUPPER,
 
63
    myID_HILIGHTLANG,
 
64
    myID_HILIGHTFIRST,
 
65
    myID_HILIGHTLAST = myID_HILIGHTFIRST + 99,
 
66
    myID_CONVERTEOL,
 
67
    myID_CONVERTCR,
 
68
    myID_CONVERTCRLF,
 
69
    myID_CONVERTLF,
 
70
    myID_USECHARSET,
 
71
    myID_CHARSETANSI,
 
72
    myID_CHARSETMAC,
 
73
    myID_PAGEPREV,
 
74
    myID_PAGENEXT,
 
75
    myID_SELECTLINE,
 
76
 
 
77
    // other IDs
 
78
    myID_STATUSBAR,
 
79
    myID_TITLEBAR,
 
80
    myID_ABOUTTIMER,
 
81
    myID_UPDATETIMER,
 
82
 
 
83
    // dialog find IDs
 
84
    myID_DLG_FIND_TEXT,
 
85
 
 
86
    // preferences IDs
 
87
    myID_PREFS_LANGUAGE,
 
88
    myID_PREFS_STYLETYPE,
 
89
    myID_PREFS_KEYWORDS,
 
90
};
 
91
 
 
92
// ----------------------------------------------------------------------------
 
93
// global items
 
94
// ----------------------------------------------------------------------------
 
95
 
 
96
//! global application name
 
97
extern wxString *g_appname;
 
98
 
 
99
//! global print data, to remember settings during the session
 
100
extern wxPrintData *g_printData;
 
101
extern wxPageSetupData *g_pageSetupData;
 
102
 
 
103
#endif // _WX_DEFSEXT_H_
 
104