summaryrefslogtreecommitdiff
path: root/support/dktools/WxdkdrawDlgArrowType.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/dktools/WxdkdrawDlgArrowType.h')
-rw-r--r--support/dktools/WxdkdrawDlgArrowType.h337
1 files changed, 0 insertions, 337 deletions
diff --git a/support/dktools/WxdkdrawDlgArrowType.h b/support/dktools/WxdkdrawDlgArrowType.h
deleted file mode 100644
index 63e5901bf6..0000000000
--- a/support/dktools/WxdkdrawDlgArrowType.h
+++ /dev/null
@@ -1,337 +0,0 @@
-/*
-Copyright (C) 2019-2020, Dirk Krause
-SPDX-License-Identifier: BSD-3-Clause
-*/
-
-/*
- WARNING: This file was generated by the dkct program (see
- http://dktools.sourceforge.net/ for details).
- Changes you make here will be lost if dkct is run again!
- You should modify the original source and run dkct on it.
- Original source: WxdkdrawDlgArrowType.wxc
-*/
-
-/** @file WxdkdrawDlgArrowType.h Header file for the WxdkdrawDlgArrowType module.
-*/
-
-#ifndef WXDKDRAWDLGARROWTYPE_H_INCLUDED
-/** Avoid multiple inclusions. */
-#define WXDKDRAWDLGARROWTYPE_H_INCLUDED 1
-
-
-#line 187 "WxdkdrawDlgArrowType.wxc"
-
-#ifndef WXDKDRAW_H_INCLUDED
-#include "wxdkdraw.h"
-#endif
-
-#ifndef WXDKDRAWFRAME_H_INCLUDED
-#include "WxdkdrawFrame.h"
-#endif
-
-
-
-#line 198 "WxdkdrawDlgArrowType.wxc"
-
-/** The arrow type dialog lets the user choose the arrow type.
-*/
-class WxdkdrawDlgArrowType : public wxDialog
-{
-
- private:
-
- /** Events to handle.
- */
-#if wxCHECK_VERSION(3,0,0)
- wxDECLARE_EVENT_TABLE();
-#else
- DECLARE_EVENT_TABLE()
-#endif
-
- protected:
-
- /** Program main window.
- */
- WxdkdrawFrame *m_pParent;
-
- /** Object to modify.
- */
- Wxd_object_t *m_pObject;
-
- /** Current arrow type in dialog.
- */
- uint8_t m_uArrowTypeCurrent;
-
- /** Original arrow type when opening dialog.
- */
- uint8_t m_uArrowTypeOriginal;
-
- /** Modify backward arrowhead (true) or forward arrowhead (false).
- */
- bool m_bBackward;
-
- /** Modify drawing element (true) or default style object (false).
- */
- bool m_bDrwElem;
-
- public:
-
- /** Window IDs for arrow type buttons.
- */
- enum {
- WXD_AT_ID_NONE = (wxID_HIGHEST + 1), /**< No arrow. */
- WXD_AT_ID_N_STROKE , /**< Normal, stroked. */
- WXD_AT_ID_N_WHITE , /**< Normal, white filled. */
- WXD_AT_ID_N_FILLED , /**< Normal, colour filled. */
- WXD_AT_ID_N_HALF_FILLED_LEFT , /**< Normal, left half filled. */
- WXD_AT_ID_N_HALF_FILLED_RIGHT , /**< Normal, right half filled. */
- WXD_AT_ID_I_WHITE , /**< Indented, white filled. */
- WXD_AT_ID_I_FILLED , /**< Indented, colour filled. */
- WXD_AT_ID_I_HALF_FILLED_LEFT , /**< Indented, left half. */
- WXD_AT_ID_I_HALF_FILLED_RIGHT , /**< Indented, right half. */
- WXD_AT_ID_B_WHITE , /**< Butted, white filled. */
- WXD_AT_ID_B_FILLED , /**< Butted, colour filled. */
- WXD_AT_ID_B_HALF_FILLED_LEFT , /**< Butted, left half. */
- WXD_AT_ID_B_HALF_FILLED_RIGHT , /**< Butted, right half. */
- WXD_AT_ID_RA_WHITE , /**< Raute, white filled. */
- WXD_AT_ID_RA_FILLED , /**< Raute, colour filled. */
- WXD_AT_ID_RA_HALF_FILLED_LEFT , /**< Raute, left half. */
- WXD_AT_ID_RA_HALF_FILLED_RIGHT, /**< Raute, right half. */
- WXD_AT_ID_RE_WHITE , /**< Rectangle, white filled. */
- WXD_AT_ID_RE_FILLED , /**< Rectangle, colour filled. */
- WXD_AT_ID_RE_HALF_FILLED_LEFT , /**< Rectangle, left half. */
- WXD_AT_ID_RE_HALF_FILLED_RIGHT, /**< Rectangle, right half. */
- WXD_AT_ID_RE_STROKE, /**< Rectangle, stroked. */
- WXD_AT_ID_T_WHITE , /**< Triangle, white filled. */
- WXD_AT_ID_T_FILLED , /**< Triangle, colour filled. */
- WXD_AT_ID_T_HALF_FILLED_LEFT , /**< Triangle, left half. */
- WXD_AT_ID_T_HALF_FILLED_RIGHT , /**< Triangle, right half. */
- WXD_AT_ID_C_WHITE , /**< Circle, white filled. */
- WXD_AT_ID_C_FILLED , /**< Circle, colour filled. */
- WXD_AT_ID_T_STROKE /**< T stroke over line end. */
- };
-
- /** Constructor.
- @param pParent Applications main frame.
- @param pObject Object to modify.
- @param pTexts Localized text fragments.
- @param pImages Images for line style buttons.
- @param bDrwElem Modify drawing element (or default style).
- @param bBackward Modify backward arrow (or forward).
- */
- WxdkdrawDlgArrowType(
- WxdkdrawFrame *pParent,
- Wxd_object_t *pObject,
- wxChar const * const *pTexts,
- const char ** const *pImages,
- bool bDrwElem,
- bool bBackward
- );
-
- /** Handler for arrow type buttons.
- @param event Event to process.
- */
- void
- OnArrowType(wxCommandEvent & event);
-
- /** Handler for Cancel button.
- @param event Event to process.
- */
- void
- OnCancel(wxCommandEvent & event);
-
-#if 0
-
- /** Retrieve arrow type.
- @return Arrow type selected in dialog.
- */
- uint8_t
- GetArrowType(void) const;
-
-#endif
-
-
- /** Flag: GUI ok.
- */
- bool dkctGUILayoutOK;
-
- /** GUI element sizerHorizontal.
- */
-#line 12 "WxdkdrawDlgArrowType.wxc"
- wxBoxSizer *sizerHorizontal;
-
- /** GUI element sizerVertical.
- */
-#line 18 "WxdkdrawDlgArrowType.wxc"
- wxBoxSizer *sizerVertical;
-
- /** GUI element sizerButtons.
- */
-#line 26 "WxdkdrawDlgArrowType.wxc"
- wxGridBagSizer *sizerButtons;
-
- /** GUI element buttonCancel.
- */
-#line 179 "WxdkdrawDlgArrowType.wxc"
- wxButton *buttonCancel;
-
- /** GUI element b00.
- */
-#line 59 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b00;
-
- /** GUI element b01.
- */
-#line 63 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b01;
-
- /** GUI element b02.
- */
-#line 67 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b02;
-
- /** GUI element b03.
- */
-#line 71 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b03;
-
- /** GUI element b04.
- */
-#line 75 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b04;
-
- /** GUI element b05.
- */
-#line 79 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b05;
-
- /** GUI element b06.
- */
-#line 83 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b06;
-
- /** GUI element b07.
- */
-#line 87 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b07;
-
- /** GUI element b08.
- */
-#line 91 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b08;
-
- /** GUI element b09.
- */
-#line 95 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b09;
-
- /** GUI element b10.
- */
-#line 99 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b10;
-
- /** GUI element b11.
- */
-#line 103 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b11;
-
- /** GUI element b12.
- */
-#line 107 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b12;
-
- /** GUI element b13.
- */
-#line 111 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b13;
-
- /** GUI element b14.
- */
-#line 115 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b14;
-
- /** GUI element b15.
- */
-#line 119 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b15;
-
- /** GUI element b16.
- */
-#line 123 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b16;
-
- /** GUI element b17.
- */
-#line 127 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b17;
-
- /** GUI element b18.
- */
-#line 131 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b18;
-
- /** GUI element b19.
- */
-#line 135 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b19;
-
- /** GUI element b20.
- */
-#line 139 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b20;
-
- /** GUI element b21.
- */
-#line 143 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b21;
-
- /** GUI element b22.
- */
-#line 147 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b22;
-
- /** GUI element b23.
- */
-#line 151 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b23;
-
- /** GUI element b24.
- */
-#line 155 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b24;
-
- /** GUI element b25.
- */
-#line 159 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b25;
-
- /** GUI element b26.
- */
-#line 163 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b26;
-
- /** GUI element b27.
- */
-#line 167 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b27;
-
- /** GUI element b28.
- */
-#line 171 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b28;
-
- /** GUI element b29.
- */
-#line 175 "WxdkdrawDlgArrowType.wxc"
- wxBitmapButton *b29;
-
-
-#line 318 "WxdkdrawDlgArrowType.wxc"
-};
-
-
-
-#line 322 "WxdkdrawDlgArrowType.wxc"
-
-
-#endif