Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
6dc63c2d
Commit
6dc63c2d
authored
Aug 29, 2007
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forgot AutoReplaceWindow
parent
92cfba20
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
359 additions
and
0 deletions
+359
-0
src/gui/auto_replace_window.cpp
src/gui/auto_replace_window.cpp
+306
-0
src/gui/auto_replace_window.hpp
src/gui/auto_replace_window.hpp
+53
-0
No files found.
src/gui/auto_replace_window.cpp
0 → 100644
View file @
6dc63c2d
This diff is collapsed.
Click to expand it.
src/gui/auto_replace_window.hpp
0 → 100644
View file @
6dc63c2d
//+----------------------------------------------------------------------------+
//| Description: Magic Set Editor - Program to make Magic (tm) cards |
//| Copyright: (C) 2001 - 2007 Twan van Laarhoven |
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_AUTO_REPLACE_WINDOW
#define HEADER_GUI_AUTO_REPLACE_WINDOW
// ----------------------------------------------------------------------------- : Includes
#include <util/prec.hpp>
#include <data/word_list.hpp>
class
AutoReplaceList
;
// ----------------------------------------------------------------------------- : AutoReplaceWindow
/// A window for editing the AutoReplace words
class
AutoReplaceWindow
:
public
wxDialog
{
public:
/// Edit auto replace words for the given game
AutoReplaceWindow
(
Window
*
parent
,
const
Game
&
game
);
private:
DECLARE_EVENT_TABLE
();
AutoReplaceList
*
list
;
wxStaticText
*
matchL
,
*
replaceL
;
wxTextCtrl
*
match
,
*
replace
;
wxCheckBox
*
enabled
,
*
whole_word
;
wxCheckBox
*
use_auto_replace
;
wxButton
*
add
,
*
remove
;
bool
in_event
;
///< No recursion between event handlers
void
onItemSelect
(
wxCommandEvent
&
);
void
onItemChange
(
wxCommandEvent
&
);
void
onEnable
(
wxCommandEvent
&
);
void
onAdd
(
wxCommandEvent
&
);
void
onRemove
(
wxCommandEvent
&
);
void
onDefault
(
wxCommandEvent
&
);
void
onOk
(
wxCommandEvent
&
);
void
enable
();
void
refreshItem
();
void
updateItem
();
void
store
();
};
// ----------------------------------------------------------------------------- : EOF
#endif
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