Replace include guards by #pragma once

This commit is contained in:
Twan van Laarhoven
2020-04-26 01:25:16 +02:00
parent bad9981ad9
commit 54a3cbfde3
167 changed files with 167 additions and 670 deletions
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_ABOUT_WINDOW
#define HEADER_GUI_ABOUT_WINDOW
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -102,5 +101,3 @@ class HoverButton : public HoverButtonBase {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_AUTO_REPLACE_WINDOW
#define HEADER_GUI_AUTO_REPLACE_WINDOW
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -49,5 +48,3 @@ class AutoReplaceWindow : public wxDialog {
void store();
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CARD_SELECT_WINDOW
#define HEADER_GUI_CARD_SELECT_WINDOW
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -94,5 +93,3 @@ class CardSelectWindow : public wxDialog {
void onSelectNone(wxCommandEvent&);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_CARD_EDITOR
#define HEADER_GUI_CONTROL_CARD_EDITOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -149,5 +148,3 @@ typedef DataEditor CardEditor;
FOR_EACH_REVERSE(v, viewers) \
if (ValueEditor* e = v->getEditor())
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_CARD_LIST
#define HEADER_GUI_CONTROL_CARD_LIST
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -150,5 +149,3 @@ class CardListBase : public ItemList, public SetView {
void onContextMenu (wxContextMenuEvent&);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_CARD_LIST_COLUMN_SELECT
#define HEADER_GUI_CONTROL_CARD_LIST_COLUMN_SELECT
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -62,5 +61,3 @@ class CardListColumnSelectDialog : public wxDialog {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_CARD_VIEWER
#define HEADER_GUI_CONTROL_CARD_VIEWER
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -65,5 +64,3 @@ class CardViewer : public wxControl, public DataViewer {
class OverdrawDC_aux;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_FILTER_CTRL
#define HEADER_GUI_CONTROL_FILTER_CTRL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -57,5 +56,3 @@ class FilterCtrl : public wxControl {
void onKillFocus(wxFocusEvent&);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_FILTERED_CARD_LIST
#define HEADER_GUI_CONTROL_FILTERED_CARD_LIST
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -36,5 +35,3 @@ class FilteredCardList : public CardListBase {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_GALLERY_LIST
#define HEADER_GUI_CONTROL_GALLERY_LIST
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -138,5 +137,3 @@ class GalleryList : public wxPanel {
static const int SPACING = MARGIN + 2*BORDER; // distance between items
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_GRAPH
#define HEADER_GUI_CONTROL_GRAPH
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -381,5 +380,3 @@ class GraphControl : public wxControl {
void onSelectionChange();
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_IMAGE_CARD_LIST
#define HEADER_GUI_CONTROL_IMAGE_CARD_LIST
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -58,5 +57,3 @@ class FilteredImageCardList : public ImageCardList {
CardListFilterP filter; ///< Filter with which this.cards is made
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_ITEM_LIST
#define HEADER_GUI_CONTROL_ITEM_LIST
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -112,5 +111,3 @@ class ItemList : public wxListView {
void onContextMenu(wxContextMenuEvent&);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_KEYWORD_LIST
#define HEADER_GUI_CONTROL_KEYWORD_LIST
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -105,5 +104,3 @@ class KeywordList : public ItemList, public SetView {
void onContextMenu (wxContextMenuEvent&);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_NATIVE_LOOK_EDITOR
#define HEADER_GUI_CONTROL_NATIVE_LOOK_EDITOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -93,5 +92,3 @@ class ExportOptionsEditor : public NativeLookEditor {
ExportTemplateP export_template;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_PACKAGE_LIST
#define HEADER_GUI_CONTROL_PACKAGE_LIST
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -74,5 +73,3 @@ class PackageList : public GalleryList {
vector<PackageData> packages;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_SELECT_CARD_LIST
#define HEADER_GUI_CONTROL_SELECT_CARD_LIST
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -46,5 +45,3 @@ class SelectCardList : public CardListBase {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_TEXT_CTRL
#define HEADER_GUI_CONTROL_TEXT_CTRL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -71,5 +70,3 @@ class TextCtrl : public DataEditor {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_TREE_LIST
#define HEADER_GUI_CONTROL_TREE_LIST
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -103,5 +102,3 @@ class TreeList : public wxPanel {
void RefreshLine(size_t line);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_DROP_DOWN_LIST
#define HEADER_GUI_DROP_DOWN_LIST
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -129,5 +128,3 @@ class DropDownList : public wxPopupWindow {
virtual void redrawArrowOnParent(); // allow override
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_HTML_EXPORT_WINDOW
#define HEADER_GUI_HTML_EXPORT_WINDOW
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -34,5 +33,3 @@ class HtmlExportWindow : public ExportWindowBase {
void onUpdateUI(wxUpdateUIEvent& ev);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_ICON_MENU
#define HEADER_GUI_ICON_MENU
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -35,5 +34,3 @@ class IconMenu : public wxMenu {
void set_menu_item_image(wxMenuItem* menuitem, const String& resource);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_IMAGE_SLICE_WINDOW
#define HEADER_GUI_IMAGE_SLICE_WINDOW
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -195,5 +194,3 @@ class ImageSliceSelector : public wxControl {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_IMAGES_EXPORT_WINDOW
#define HEADER_GUI_IMAGES_EXPORT_WINDOW
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -29,5 +28,3 @@ class ImagesExportWindow : public ExportWindowBase {
wxChoice* conflicts;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_NEW_WINDOW
#define HEADER_GUI_NEW_WINDOW
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -89,5 +88,3 @@ class SelectStyleSheetWindow : public wxDialog {
void done();
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_PACKAGE_UPDATE_LIST
#define HEADER_GUI_PACKAGE_UPDATE_LIST
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -79,5 +78,3 @@ class PackageUpdateList : public TreeList {
friend class PackageIconRequest;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_PACKAGES_WINDOW
#define HEADER_GUI_PACKAGES_WINDOW
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -53,5 +52,3 @@ class PackagesWindow : public wxDialog {
bool checkInstallerList(bool refresh = true);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_PREFERENCES_WINDOW
#define HEADER_GUI_PREFERENCES_WINDOW
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -25,5 +24,3 @@ class PreferencesWindow : public wxDialog {
void onOk(wxCommandEvent&);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_PRINT_WINDOW
#define HEADER_GUI_PRINT_WINDOW
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -72,5 +71,3 @@ void print_preview(Window* parent, const SetP& set, const ExportCardSelectionCho
void print_set(Window* parent, const PrintJobP& job);
void print_set(Window* parent, const SetP& set, const ExportCardSelectionChoices& choices);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_CARDS_PANEL
#define HEADER_GUI_SET_CARDS_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -100,5 +99,3 @@ class CardsPanel : public SetWindowPanel {
wxMenu* makeAddCardsSubmenu(bool add_single_card_option);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_CONSOLE_PANEL
#define HEADER_GUI_SET_CONSOLE_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -68,5 +67,3 @@ private:
void onTimer(wxTimerEvent&);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_KEYWORDS_PANEL
#define HEADER_GUI_SET_KEYWORDS_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -79,5 +78,3 @@ class KeywordsPanel : public SetWindowPanel {
void onModeChange(wxCommandEvent& ev);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_PANEL
#define HEADER_GUI_SET_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -80,5 +79,3 @@ class SetWindowPanel : public wxPanel, public SetView {
bool isInitialized() const;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_RANDOM_PACK_PANEL
#define HEADER_GUI_SET_RANDOM_PACK_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -98,5 +97,3 @@ class RandomPackPanel : public SetWindowPanel {
typedef PackItem PackItem_for_typeof;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_SET_INFO_PANEL
#define HEADER_GUI_SET_SET_INFO_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -43,5 +42,3 @@ class SetInfoPanel : public SetWindowPanel {
SetInfoEditor* editor;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_STATS_PANEL
#define HEADER_GUI_SET_STATS_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -73,5 +72,3 @@ class StatsPanel : public SetWindowPanel {
void filterCards();
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_STYLE_PANEL
#define HEADER_GUI_SET_STYLE_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -63,5 +62,3 @@ class StylePanel : public SetWindowPanel {
void initControls();
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_WINDOW
#define HEADER_GUI_SET_WINDOW
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -175,5 +174,3 @@ private:
void onEraseBackground (wxEraseEvent&) {} // reduce flicker
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_BASIC_SHAPE_EDITOR
#define HEADER_GUI_SYMBOL_BASIC_SHAPE_EDITOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -69,5 +68,3 @@ class SymbolBasicShapeEditor : public SymbolEditorBase {
void makeCenteredShape(const Vector2D& c, Vector2D r, bool constrained);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_CONTROL
#define HEADER_GUI_SYMBOL_CONTROL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -102,5 +101,3 @@ class SymbolControl : public wxControl, public SymbolViewer {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_EDITOR
#define HEADER_GUI_SYMBOL_EDITOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -91,5 +90,3 @@ class SymbolEditorBase : public IntrusivePtrVirtualBase {
virtual bool isEditing() { return false; }
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_PART_LIST
#define HEADER_GUI_SYMBOL_PART_LIST
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -105,5 +104,3 @@ class SymbolPartList : public wxScrolledWindow, public SymbolView {
void updateCaret(DC& dc, int x, int y, int h, const SymbolPartP& part);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_POINT_EDITOR
#define HEADER_GUI_SYMBOL_POINT_EDITOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -165,5 +164,3 @@ class SymbolPointEditor : public SymbolEditorBase {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_SELECT_EDITOR
#define HEADER_GUI_SYMBOL_SELECT_EDITOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -120,5 +119,3 @@ class SymbolSelectEditor : public SymbolEditorBase {
void resetActions();
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_SELECTION
#define HEADER_GUI_SYMBOL_SELECTION
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -83,5 +82,3 @@ class SymbolPartsSelection {
void clearChildren (SymbolPart* part);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_SYMMETRY_EDITOR
#define HEADER_GUI_SYMBOL_SYMMETRY_EDITOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -70,5 +69,3 @@ class SymbolSymmetryEditor : public SymbolEditorBase {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_WINDOW
#define HEADER_GUI_SYMBOL_WINDOW
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -71,5 +70,3 @@ class SymbolWindow : public wxFrame {
void onSelectFromControl();
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_THUMBNAIL_THREAD
#define HEADER_GUI_THUMBNAIL_THREAD
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -80,5 +79,3 @@ class ThumbnailThread {
/// The global thumbnail generator thread
extern ThumbnailThread thumbnail_thread;
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_UTIL_UPDATE_CHECKER
#define HEADER_UTIL_UPDATE_CHECKER
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -31,5 +30,3 @@ bool update_data_found();
/// Is there an update?
bool update_available();
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_UTIL
#define HEADER_GUI_UTIL
#pragma once
/** @file gui/util.hpp
* Utility functions for use in the gui. Most are related to drawing.
@@ -89,5 +88,3 @@ void draw_selection_rectangle(Window* win, DC& dc, const wxRect& rect, bool sele
/// Enable fancy themed selection rectangle on windows
void enable_themed_selection_rectangle(Window* win);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_CHOICE
#define HEADER_GUI_VALUE_CHOICE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -100,5 +99,3 @@ class DropDownChoiceList : public DropDownChoiceListBase {
virtual DropDownList* createSubMenu(ChoiceField::ChoiceP group) const;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_COLOR
#define HEADER_GUI_VALUE_COLOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -39,5 +38,3 @@ class ColorValueEditor : public ColorValueViewer, public ValueEditor {
void changeCustom();
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_EDITOR
#define HEADER_GUI_VALUE_EDITOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -153,5 +152,3 @@ class ValueEditor {
Type##ValueEditor::Type##ValueEditor(DataEditor& parent, const Type##StyleP& style) \
: Type##ValueViewer(parent, style)
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_IMAGE
#define HEADER_GUI_VALUE_IMAGE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -37,5 +36,3 @@ class ImageValueEditor : public ImageValueViewer, public ValueEditor {
void sliceImage(const Image&);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_INFORMATION
#define HEADER_GUI_VALUE_INFORMATION
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -24,5 +23,3 @@ class InfoValueEditor : public InfoValueViewer, public ValueEditor {
virtual bool drawLabel() const { return false; }
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_MULTIPLE_CHOICE
#define HEADER_GUI_VALUE_MULTIPLE_CHOICE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -42,5 +41,3 @@ class MultipleChoiceValueEditor : public MultipleChoiceValueViewer, public Value
void toggleDefault();
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_PACKAGE_CHOICE
#define HEADER_GUI_VALUE_PACKAGE_CHOICE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -38,5 +37,3 @@ class PackageChoiceValueEditor : public PackageChoiceValueViewer, public ValueEd
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_SYMBOL
#define HEADER_GUI_VALUE_SYMBOL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -43,5 +42,3 @@ class SymbolValueEditor : public SymbolValueViewer, public ValueEditor {
Bitmap button_images[1];
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_TEXT
#define HEADER_GUI_VALUE_TEXT
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -187,5 +186,3 @@ class TextValueEditor : public TextValueViewer, public ValueEditor {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_WELCOME_WINDOW
#define HEADER_GUI_WELCOME_WINDOW
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -67,5 +66,3 @@ class HoverButtonExt : public HoverButton {
virtual void draw(DC& dc);
};
// ----------------------------------------------------------------------------- : EOF
#endif