2025-01-01 05:57:58 +01:00
|
|
|
#include "dataset_handler.h"
|
|
|
|
|
|
|
|
|
|
#include "../dummy_handler.h"
|
|
|
|
|
#include "dataset_product_handler.h"
|
|
|
|
|
|
|
|
|
|
namespace satdump
|
|
|
|
|
{
|
|
|
|
|
namespace viewer
|
|
|
|
|
{
|
2025-01-02 17:04:32 +01:00
|
|
|
DatasetHandler::DatasetHandler()
|
2025-01-01 05:57:58 +01:00
|
|
|
{
|
2025-01-02 17:04:32 +01:00
|
|
|
instrument_products = std::make_shared<DummyHandler>("Instruments");
|
2025-01-01 05:57:58 +01:00
|
|
|
general_products = std::make_shared<DatasetProductHandler>();
|
2025-01-02 17:20:09 +01:00
|
|
|
instrument_products->setCanBeDragged(false);
|
|
|
|
|
instrument_products->setCanBeDraggedTo(false);
|
|
|
|
|
instrument_products->setSubHandlersCanBeDragged(false);
|
|
|
|
|
general_products->setCanBeDragged(false);
|
2025-01-01 05:57:58 +01:00
|
|
|
addSubHandler(instrument_products);
|
|
|
|
|
addSubHandler(general_products);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
DatasetHandler::~DatasetHandler()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void DatasetHandler::drawMenu()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void DatasetHandler::drawContents(ImVec2 win_size)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|