FreeRDP
sdl_input.cpp File Reference
#include "sdl_input.hpp"
#include <cassert>
#include <string>
#include <SDL.h>
#include <SDL_ttf.h>
#include "sdl_widget.hpp"
#include "sdl_button.hpp"
#include "sdl_buttons.hpp"

Variables

static const SDL_Color inputbackgroundcolor = { 0x56, 0x56, 0x56, 0xff }
 
static const SDL_Color inputhighlightcolor = { 0x80, 0, 0, 0x60 }
 
static const SDL_Color inputmouseovercolor = { 0, 0x80, 0, 0x60 }
 
static const SDL_Color inputfontcolor = { 0xd1, 0xcf, 0xcd, 0xff }
 
static const SDL_Color labelbackgroundcolor = { 0x56, 0x56, 0x56, 0xff }
 
static const SDL_Color labelfontcolor = { 0xd1, 0xcf, 0xcd, 0xff }
 
static const Uint32 vpadding = 5
 
static const Uint32 hpadding = 10
 

Variable Documentation

◆ hpadding

const Uint32 hpadding = 10
static

◆ inputbackgroundcolor

const SDL_Color inputbackgroundcolor = { 0x56, 0x56, 0x56, 0xff }
static

FreeRDP: A Remote Desktop Protocol Implementation SDL Client helper dialogs

Copyright 2023 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

◆ inputfontcolor

const SDL_Color inputfontcolor = { 0xd1, 0xcf, 0xcd, 0xff }
static

◆ inputhighlightcolor

const SDL_Color inputhighlightcolor = { 0x80, 0, 0, 0x60 }
static

◆ inputmouseovercolor

const SDL_Color inputmouseovercolor = { 0, 0x80, 0, 0x60 }
static

◆ labelbackgroundcolor

const SDL_Color labelbackgroundcolor = { 0x56, 0x56, 0x56, 0xff }
static

◆ labelfontcolor

const SDL_Color labelfontcolor = { 0xd1, 0xcf, 0xcd, 0xff }
static

◆ vpadding

const Uint32 vpadding = 5
static