some experimentation
This commit is contained in:
parent
9773103a18
commit
665a9a4078
8 changed files with 135 additions and 79 deletions
|
@ -19,8 +19,6 @@ public:
|
|||
|
||||
std::string input_string() const { return _input_string; }
|
||||
|
||||
|
||||
|
||||
~input() = default;
|
||||
|
||||
enum mouse_button_state {
|
||||
|
|
|
@ -17,25 +17,25 @@
|
|||
|
||||
namespace pw {
|
||||
|
||||
struct window_context : context
|
||||
{
|
||||
virtual bool make_current() override;
|
||||
virtual void resize() override;
|
||||
// virtual context::size size() override;
|
||||
virtual void flush() override;
|
||||
};
|
||||
//struct window_context : context
|
||||
//{
|
||||
// virtual bool make_current() override;
|
||||
// virtual void resize() override;
|
||||
// // virtual context::size size() override;
|
||||
// virtual void flush() override;
|
||||
//};
|
||||
|
||||
bool window_context::make_current()
|
||||
{
|
||||
}
|
||||
//bool window_context::make_current()
|
||||
//{
|
||||
//}
|
||||
|
||||
void window_context::resize()
|
||||
{
|
||||
}
|
||||
//void window_context::resize()
|
||||
//{
|
||||
//}
|
||||
|
||||
void window_context::flush()
|
||||
{
|
||||
}
|
||||
//void window_context::flush()
|
||||
//{
|
||||
//}
|
||||
|
||||
struct window::impl {
|
||||
|
||||
|
@ -264,6 +264,11 @@ struct window::impl {
|
|||
};
|
||||
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
window::window()
|
||||
: _impl(std::make_unique<window::impl>())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue