Skip to content

Commit

Permalink
Make the ui movable
Browse files Browse the repository at this point in the history
  • Loading branch information
momo5502 committed Aug 26, 2023
1 parent bed63ed commit bfc8102
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/momo/html_ui.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ namespace momo

html_ui(const html_ui&) = delete;
html_ui& operator=(const html_ui&) = delete;
html_ui(html_ui&&) = delete;
html_ui& operator=(html_ui&&) = delete;

html_ui(html_ui&&) noexcept;
html_ui& operator=(html_ui&&) noexcept;

void resize(size_t width, size_t height);
bool load_url(const std::string& url);
Expand Down
2 changes: 2 additions & 0 deletions src/html_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ namespace momo
}

html_ui::~html_ui() = default;
html_ui::html_ui(html_ui&&) noexcept = default;
html_ui& html_ui::operator=(html_ui&&) noexcept = default;

void html_ui::resize(const size_t width, const size_t height)
{
Expand Down

0 comments on commit bfc8102

Please sign in to comment.