Files
s7/XS7.h

41 lines
1.0 KiB
C
Raw Permalink Normal View History

2025-06-28 17:40:42 +02:00
// /*
// * File: XS7.h
// * Author: Saleem Edah-Tally - nmset@yandex.com
// * License : CeCILL
// * Copyright Saleem Edah-Tally - © 2023
// *
// * Created on 18 06 2025, 22:42
// */
#ifndef XS7_H
#define XS7_H
#include "s7.h"
#include <wx/wx.h>
#include <XInsaneWidget.h>
#include <fstream>
class XS7 : public S7
{
DECLARE_DYNAMIC_CLASS( XS7 )
2025-06-28 17:40:42 +02:00
public:
XS7(wxWindow* parent, wxWindowID id = SYMBOL_S7_IDNAME, const wxString& caption = SYMBOL_S7_TITLE,
const wxPoint& pos = SYMBOL_S7_POSITION, const wxSize& size = SYMBOL_S7_SIZE, long style = SYMBOL_S7_STYLE );
virtual ~XS7();
void Setup(wxConfig * config);
2025-06-28 17:40:42 +02:00
private:
wxConfig * m_config = nullptr;
2025-06-28 17:40:42 +02:00
XInsaneWidget * m_insaneWidget = nullptr;
void OnDpkRepositoryChange ( wxFileDirPickerEvent& evt );
void OnDpkDoubleClick ( wxMouseEvent& evt );
void OnAppKeyPressed(wxKeyEvent& evt);
void OnNewDocLeftClick ( wxMouseEvent& evt ); // wxStaticText in m_insaneWidget.
void OnClose(wxCloseEvent& evt);
2025-06-28 17:40:42 +02:00
void OnAbout(wxMouseEvent& evt);
};
#endif // XS7_H