mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
Update ImGui
This commit is contained in:
parent
294c8e8124
commit
d6bdde0123
30 changed files with 11478 additions and 9841 deletions
|
|
@ -428,7 +428,7 @@ void Steam_Overlay::BuildFriendWindow(Friend const& frd, friend_window_state& st
|
|||
{
|
||||
state.window_state &= ~window_state_need_attention;
|
||||
}
|
||||
ImGui::SetNextWindowSizeConstraints(ImVec2{ width, ImGui::GetFontSize()*8 + ImGui::GetItemsLineHeightWithSpacing()*4 },
|
||||
ImGui::SetNextWindowSizeConstraints(ImVec2{ width, ImGui::GetFontSize()*8 + ImGui::GetFrameHeightWithSpacing()*4 },
|
||||
ImVec2{ std::numeric_limits<float>::max() , std::numeric_limits<float>::max() });
|
||||
|
||||
// Window id is after the ###, the window title is the friend name
|
||||
|
|
@ -457,8 +457,7 @@ void Steam_Overlay::BuildFriendWindow(Friend const& frd, friend_window_state& st
|
|||
}
|
||||
}
|
||||
|
||||
ImGui::ColoredInputTextMultiline("##chat_history", &state.chat_history[0], state.chat_history.length(), { -1.0f, 0 }, ImGuiInputTextFlags_ReadOnly);
|
||||
|
||||
ImGui::InputTextMultiline("##chat_history", &state.chat_history[0], state.chat_history.length(), { -1.0f, 0 }, ImGuiInputTextFlags_ReadOnly);
|
||||
// TODO: Fix the layout of the chat line + send button.
|
||||
// It should be like this: chat input should fill the window size minus send button size (button size is fixed)
|
||||
// |------------------------------|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue