export ppbr wip
This commit is contained in:
@@ -28,9 +28,6 @@ void NodeDialogExportPPBR::init()
|
||||
void NodeDialogExportPPBR::init_controls()
|
||||
{
|
||||
btn_ok = find<NodeButton>("btn-ok");
|
||||
btn_ok->on_click = [this] (Node*) {
|
||||
start_exporting();
|
||||
};
|
||||
btn_cancel = find<NodeButton>("btn-cancel");
|
||||
btn_cancel->on_click = [this](Node*) {
|
||||
destroy();
|
||||
@@ -43,13 +40,14 @@ void NodeDialogExportPPBR::init_controls()
|
||||
btn_header_clear->on_click = [this] (Node*) {
|
||||
m_header_image.destroy();
|
||||
img_header->tex.destroy();
|
||||
txt_header_descr->SetVisibility(true);
|
||||
};
|
||||
btn_header_gen = find<NodeButton>("header-gen");
|
||||
btn_header_gen->on_click = [this] (Node*) {
|
||||
App::I->message_box("WIP", "This feature is not yet implemented.");
|
||||
};
|
||||
img_header = find<NodeImageTexture>("header-tex");
|
||||
|
||||
txt_header_descr = find<NodeText>("header-descr");
|
||||
}
|
||||
|
||||
void NodeDialogExportPPBR::open_header()
|
||||
@@ -58,14 +56,10 @@ void NodeDialogExportPPBR::open_header()
|
||||
m_header_image.load(path);
|
||||
m_header_image.resize(256, 128);
|
||||
img_header->tex.create(m_header_image);
|
||||
txt_header_descr->SetVisibility(false);
|
||||
});
|
||||
}
|
||||
|
||||
void NodeDialogExportPPBR::start_exporting()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void NodeDialogExportPPBR::added(Node* parent)
|
||||
{
|
||||
NodeBorder::added(parent);
|
||||
|
||||
Reference in New Issue
Block a user