You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
904 B
C++
37 lines
904 B
C++
/******************************************************************************
|
|
* File - propertiesView.h
|
|
* Author - Joey Pollack
|
|
* Date - 2022/01/26 (y/m/d)
|
|
* Mod Date - 2022/01/26 (y/m/d)
|
|
* Description - Displayes the properties and components(?) of the selected
|
|
* object.
|
|
******************************************************************************/
|
|
|
|
#include "propertiesView.h"
|
|
#include <dearimgui/imgui.h>
|
|
|
|
namespace lunarium { namespace editor
|
|
{
|
|
PropertiesView::PropertiesView()
|
|
: Panel(PT_PROPERTIES_VIEW, true)
|
|
{
|
|
|
|
}
|
|
|
|
bool PropertiesView::DoFrame()
|
|
{
|
|
if (!mIsOpen)
|
|
return false;
|
|
|
|
if (!ImGui::Begin("Properties", &mIsOpen, ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoScrollbar))
|
|
{
|
|
ImGui::End();
|
|
return false;
|
|
}
|
|
|
|
ImGui::End();
|
|
return true;
|
|
}
|
|
|
|
|
|
}} |