Refactor HWND management and modularize initialization
Centralized HWND handling into a dedicated `hwnd_module` for improved clarity and modularity. Updated `toolboxWindow` and `optionWindow` to use the new module abstraction. Adjusted related initialization code for better structure and maintainability.
This commit is contained in:
@@ -17,10 +17,12 @@ public:
|
||||
|
||||
// Für die Fensterinitialisierung
|
||||
void initialize();
|
||||
void setHWND(HWND hwnd);
|
||||
|
||||
private:
|
||||
std::shared_ptr<saucer::application> m_app;
|
||||
saucer::smartview<saucer::default_serializer, hwnd_module> m_webview;
|
||||
saucer::smartview<saucer::default_serializer> m_webview;
|
||||
HWND m_hwnd;
|
||||
|
||||
void configureWindow();
|
||||
void loadResources();
|
||||
|
||||
Reference in New Issue
Block a user