Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
5fc79254
Commit
5fc79254
authored
Oct 27, 2007
by
raburton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set eol-style native on new file
parent
ec02baab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
125 additions
and
125 deletions
+125
-125
svg_print.h
common/svg_print.h
+125
-125
No files found.
common/svg_print.h
View file @
5fc79254
/////////////////////////////////////////////////////////////////////////////
// Name: svg_print.h
// Purpose:
// Author: jean-pierre Charras
// Modified by:
// Created: 27/10/2007 12:48:35
// RCS-ID:
// Copyright: License GNU
// Licence:
/////////////////////////////////////////////////////////////////////////////
// Generated by DialogBlocks (unregistered), 27/10/2007 12:48:35
#ifndef _SVG_PRINT_H_
#define _SVG_PRINT_H_
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "svg_print.h"
#endif
/*!
* Includes
*/
////@begin includes
#include "wx/valgen.h"
#include "wx/spinctrl.h"
////@end includes
/*!
* Forward declarations
*/
////@begin forward declarations
class
wxSpinCtrl
;
////@end forward declarations
/*!
* Control identifiers
*/
////@begin control identifiers
#define ID_DIALOG 10000
#define ID_SPINCTRL 10003
#define ID_RADIOBOX_SETPRINTMODE 10007
#define ID_CHECKBOX 10004
#define ID_RADIOBOX 10005
#define ID_PRINT_EXECUTE 10002
#define ID_TEXTCTRL 10001
#define ID_TEXTCTRL1 10006
#define SYMBOL_WINEDA_PRINTSVGFRAME_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|wxFRAME_FLOAT_ON_PARENT|MAYBE_RESIZE_BORDER
#define SYMBOL_WINEDA_PRINTSVGFRAME_TITLE _("Create SVG file")
#define SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME ID_DIALOG
#define SYMBOL_WINEDA_PRINTSVGFRAME_SIZE wxSize(400, 300)
#define SYMBOL_WINEDA_PRINTSVGFRAME_POSITION wxDefaultPosition
////@end control identifiers
/*!
* WinEDA_PrintSVGFrame class declaration
*/
class
WinEDA_PrintSVGFrame
:
public
wxDialog
{
DECLARE_DYNAMIC_CLASS
(
WinEDA_PrintSVGFrame
)
DECLARE_EVENT_TABLE
()
public
:
/// Constructors
WinEDA_PrintSVGFrame
();
WinEDA_PrintSVGFrame
(
wxWindow
*
parent
,
wxWindowID
id
=
SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_WINEDA_PRINTSVGFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_WINEDA_PRINTSVGFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_WINEDA_PRINTSVGFRAME_SIZE
,
long
style
=
SYMBOL_WINEDA_PRINTSVGFRAME_STYLE
);
/// Creation
bool
Create
(
wxWindow
*
parent
,
wxWindowID
id
=
SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_WINEDA_PRINTSVGFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_WINEDA_PRINTSVGFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_WINEDA_PRINTSVGFRAME_SIZE
,
long
style
=
SYMBOL_WINEDA_PRINTSVGFRAME_STYLE
);
/// Destructor
~
WinEDA_PrintSVGFrame
();
/// Initialises member variables
void
Init
();
/// Creates the controls and sizers
void
CreateControls
();
////@begin WinEDA_PrintSVGFrame event handler declarations
/// wxEVT_CLOSE_WINDOW event handler for ID_DIALOG
void
OnCloseWindow
(
wxCloseEvent
&
event
);
/// wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_SPINCTRL
void
OnSpinctrlUpdated
(
wxSpinEvent
&
event
);
/// wxEVT_COMMAND_RADIOBOX_SELECTED event handler for ID_RADIOBOX_SETPRINTMODE
void
OnRadioboxSetprintmodeSelected
(
wxCommandEvent
&
event
);
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_PRINT_EXECUTE
void
OnPrintExecuteClick
(
wxCommandEvent
&
event
);
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CLOSE
void
OnCloseClick
(
wxCommandEvent
&
event
);
////@end WinEDA_PrintSVGFrame event handler declarations
////@begin WinEDA_PrintSVGFrame member function declarations
/// Retrieves bitmap resources
wxBitmap
GetBitmapResource
(
const
wxString
&
name
);
/// Retrieves icon resources
wxIcon
GetIconResource
(
const
wxString
&
name
);
////@end WinEDA_PrintSVGFrame member function declarations
/// Should we show tooltips?
static
bool
ShowToolTips
();
////@begin WinEDA_PrintSVGFrame member variables
wxSpinCtrl
*
m_ButtPenWidth
;
wxRadioBox
*
m_ModeColorOption
;
wxCheckBox
*
m_Print_Sheet_Ref
;
wxRadioBox
*
m_PagesOption
;
wxTextCtrl
*
m_FileNameCtrl
;
wxTextCtrl
*
m_MessagesBox
;
////@end WinEDA_PrintSVGFrame member variables
};
#endif
// _SVG_PRINT_H_
/////////////////////////////////////////////////////////////////////////////
// Name: svg_print.h
// Purpose:
// Author: jean-pierre Charras
// Modified by:
// Created: 27/10/2007 12:48:35
// RCS-ID:
// Copyright: License GNU
// Licence:
/////////////////////////////////////////////////////////////////////////////
// Generated by DialogBlocks (unregistered), 27/10/2007 12:48:35
#ifndef _SVG_PRINT_H_
#define _SVG_PRINT_H_
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "svg_print.h"
#endif
/*!
* Includes
*/
////@begin includes
#include "wx/valgen.h"
#include "wx/spinctrl.h"
////@end includes
/*!
* Forward declarations
*/
////@begin forward declarations
class
wxSpinCtrl
;
////@end forward declarations
/*!
* Control identifiers
*/
////@begin control identifiers
#define ID_DIALOG 10000
#define ID_SPINCTRL 10003
#define ID_RADIOBOX_SETPRINTMODE 10007
#define ID_CHECKBOX 10004
#define ID_RADIOBOX 10005
#define ID_PRINT_EXECUTE 10002
#define ID_TEXTCTRL 10001
#define ID_TEXTCTRL1 10006
#define SYMBOL_WINEDA_PRINTSVGFRAME_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|wxFRAME_FLOAT_ON_PARENT|MAYBE_RESIZE_BORDER
#define SYMBOL_WINEDA_PRINTSVGFRAME_TITLE _("Create SVG file")
#define SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME ID_DIALOG
#define SYMBOL_WINEDA_PRINTSVGFRAME_SIZE wxSize(400, 300)
#define SYMBOL_WINEDA_PRINTSVGFRAME_POSITION wxDefaultPosition
////@end control identifiers
/*!
* WinEDA_PrintSVGFrame class declaration
*/
class
WinEDA_PrintSVGFrame
:
public
wxDialog
{
DECLARE_DYNAMIC_CLASS
(
WinEDA_PrintSVGFrame
)
DECLARE_EVENT_TABLE
()
public
:
/// Constructors
WinEDA_PrintSVGFrame
();
WinEDA_PrintSVGFrame
(
wxWindow
*
parent
,
wxWindowID
id
=
SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_WINEDA_PRINTSVGFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_WINEDA_PRINTSVGFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_WINEDA_PRINTSVGFRAME_SIZE
,
long
style
=
SYMBOL_WINEDA_PRINTSVGFRAME_STYLE
);
/// Creation
bool
Create
(
wxWindow
*
parent
,
wxWindowID
id
=
SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_WINEDA_PRINTSVGFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_WINEDA_PRINTSVGFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_WINEDA_PRINTSVGFRAME_SIZE
,
long
style
=
SYMBOL_WINEDA_PRINTSVGFRAME_STYLE
);
/// Destructor
~
WinEDA_PrintSVGFrame
();
/// Initialises member variables
void
Init
();
/// Creates the controls and sizers
void
CreateControls
();
////@begin WinEDA_PrintSVGFrame event handler declarations
/// wxEVT_CLOSE_WINDOW event handler for ID_DIALOG
void
OnCloseWindow
(
wxCloseEvent
&
event
);
/// wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_SPINCTRL
void
OnSpinctrlUpdated
(
wxSpinEvent
&
event
);
/// wxEVT_COMMAND_RADIOBOX_SELECTED event handler for ID_RADIOBOX_SETPRINTMODE
void
OnRadioboxSetprintmodeSelected
(
wxCommandEvent
&
event
);
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_PRINT_EXECUTE
void
OnPrintExecuteClick
(
wxCommandEvent
&
event
);
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CLOSE
void
OnCloseClick
(
wxCommandEvent
&
event
);
////@end WinEDA_PrintSVGFrame event handler declarations
////@begin WinEDA_PrintSVGFrame member function declarations
/// Retrieves bitmap resources
wxBitmap
GetBitmapResource
(
const
wxString
&
name
);
/// Retrieves icon resources
wxIcon
GetIconResource
(
const
wxString
&
name
);
////@end WinEDA_PrintSVGFrame member function declarations
/// Should we show tooltips?
static
bool
ShowToolTips
();
////@begin WinEDA_PrintSVGFrame member variables
wxSpinCtrl
*
m_ButtPenWidth
;
wxRadioBox
*
m_ModeColorOption
;
wxCheckBox
*
m_Print_Sheet_Ref
;
wxRadioBox
*
m_PagesOption
;
wxTextCtrl
*
m_FileNameCtrl
;
wxTextCtrl
*
m_MessagesBox
;
////@end WinEDA_PrintSVGFrame member variables
};
#endif
// _SVG_PRINT_H_
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment