2023-08-16 00:20:26 +10:00
|
|
|
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
2023-05-31 16:19:06 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2023-05-23 15:00:38 +02:00
|
|
|
|
|
|
|
|
/** \file
|
|
|
|
|
* \ingroup select
|
|
|
|
|
*/
|
|
|
|
|
|
2024-01-05 11:16:57 -05:00
|
|
|
#include "DRW_render.hh"
|
2023-05-23 15:00:38 +02:00
|
|
|
|
2023-10-04 14:32:18 -03:00
|
|
|
#include "select_engine.hh"
|
2023-05-23 15:00:38 +02:00
|
|
|
|
|
|
|
|
#include "../overlay/overlay_next_instance.hh"
|
|
|
|
|
#include "select_instance.hh"
|
|
|
|
|
|
2025-03-17 10:31:22 +01:00
|
|
|
namespace blender::draw::select {
|
2023-05-23 15:00:38 +02:00
|
|
|
|
2025-03-17 10:31:22 +01:00
|
|
|
class Instance : public overlay::Instance {
|
|
|
|
|
public:
|
|
|
|
|
Instance() : overlay::Instance(SelectionType::ENABLED){};
|
2023-07-02 19:37:19 +10:00
|
|
|
};
|
2023-05-23 15:00:38 +02:00
|
|
|
|
2025-03-17 10:31:22 +01:00
|
|
|
DrawEngine *Engine::create_instance()
|
2023-05-23 15:00:38 +02:00
|
|
|
{
|
2025-03-17 10:31:22 +01:00
|
|
|
return new Instance();
|
2023-05-23 15:00:38 +02:00
|
|
|
}
|
|
|
|
|
|
2025-03-17 10:31:22 +01:00
|
|
|
} // namespace blender::draw::select
|