X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fshared%2Fstates.cpp;h=630d9a72e498cf87fae9d2793c4f4a48c9aac369;hb=b00e4b77859d13bdf29bd50e91315a46a15bd01d;hp=1b907150d73e9937f14f99566476b3f972fe32d9;hpb=9fe65e5284b4df9612249483f6b261a84dddc09d;p=blank.git diff --git a/src/shared/states.cpp b/src/shared/states.cpp index 1b90715..630d9a7 100644 --- a/src/shared/states.cpp +++ b/src/shared/states.cpp @@ -18,8 +18,8 @@ ChatState::ChatState(Environment &env, State &parent, Responder &responder) , input(env.assets.small_ui_font) { input.Position(glm::vec3(25.0f, -25.0f, -1.0f), Gravity::SOUTH_WEST, Gravity::SOUTH_WEST); input.Width(env.viewport.Width() - 50.0f); - input.Foreground(glm::vec4(1.0f)); - input.Background(glm::vec4(0.5f)); + input.Foreground(PrimitiveMesh::Color(255)); + input.Background(PrimitiveMesh::Color(127)); } void ChatState::Preset(const std::string &text) { @@ -143,7 +143,7 @@ void MessageState::Handle(const SDL_Event &e) { } } -void MessageState::Update(int dt) { +void MessageState::Update(int) { }