//
// Created by sasha on 27.11.2025.
//

#ifndef RU_DANSOFT_PUZZLE15_RECORDSCREEN_H
#define RU_DANSOFT_PUZZLE15_RECORDSCREEN_H

#include "engine/widgets/iscreen.h"
#include "engine/widgets/image.h"
#include "screens/widgets/record/record_selector.h"
#include "screens/widgets/record/record_line.h"

class RecordScreen : public IScreen {
    public:
        RecordScreen();

    private:
        RecordSelector *selector;

        void refreshTable(const std::string &type);
        void onActive(const VariantMap &args) override;

        std::vector<RecordLine*> listLines;

        std::string curType;
};


#endif //RU_DANSOFT_PUZZLE15_RECORDSCREEN_H
