Cleanup MessageEditor
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
#include "app/gui/style.h"
|
#include "app/gui/style.h"
|
||||||
#include "app/rom.h"
|
#include "app/rom.h"
|
||||||
#include "imgui.h"
|
#include "imgui.h"
|
||||||
|
#include "imgui/misc/cpp/imgui_stdlib.h"
|
||||||
|
|
||||||
namespace yaze {
|
namespace yaze {
|
||||||
namespace app {
|
namespace app {
|
||||||
@@ -162,10 +163,6 @@ absl::Status MessageEditor::Update() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MessageEditor::DrawMessageList() {
|
void MessageEditor::DrawMessageList() {
|
||||||
if (InputText("Search", &search_text_)) {
|
|
||||||
// TODO: ImGui style text filtering
|
|
||||||
}
|
|
||||||
|
|
||||||
if (BeginChild("##MessagesList", ImVec2(0, 0), true,
|
if (BeginChild("##MessagesList", ImVec2(0, 0), true,
|
||||||
ImGuiWindowFlags_AlwaysVerticalScrollbar)) {
|
ImGuiWindowFlags_AlwaysVerticalScrollbar)) {
|
||||||
if (BeginTable("##MessagesTable", 3, kMessageTableFlags)) {
|
if (BeginTable("##MessagesTable", 3, kMessageTableFlags)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user