22 lines
453 B
C++
22 lines
453 B
C++
#pragma once
|
|
#include "../window.hpp"
|
|
#include "html_frame.hpp"
|
|
|
|
class html_window final
|
|
{
|
|
public:
|
|
html_window(const std::string& title, int width, int height,
|
|
long flags = (WS_OVERLAPPEDWINDOW & ~(WS_THICKFRAME | WS_MAXIMIZEBOX)));
|
|
|
|
~html_window() = default;
|
|
|
|
window* get_window();
|
|
html_frame* get_html_frame();
|
|
|
|
private:
|
|
html_frame frame_{};
|
|
window window_;
|
|
|
|
std::optional<LRESULT> processor(UINT message, WPARAM w_param, LPARAM l_param);
|
|
};
|