FreeRDP
SdlSelectWidget Class Reference

#include <sdl_select.hpp>

Inheritance diagram for SdlSelectWidget:
Collaboration diagram for SdlSelectWidget:

Public Member Functions

 SdlSelectWidget (SDL_Renderer *renderer, std::string label, SDL_Rect rect)
 
 SdlSelectWidget (SdlSelectWidget &&other) noexcept
 
bool set_mouseover (SDL_Renderer *renderer, bool mouseOver)
 
bool set_highlight (SDL_Renderer *renderer, bool highlight)
 
bool update_text (SDL_Renderer *renderer)
 
 SdlSelectWidget (const SdlSelectWidget &other)=delete
 
SdlSelectWidgetoperator= (const SdlSelectWidget &other)=delete
 
SdlSelectWidgetoperator= (SdlSelectWidget &&other)=delete
 
 SdlSelectWidget (SDL_Renderer *renderer, std::string label, const SDL_FRect &rect)
 
 SdlSelectWidget (SdlSelectWidget &&other) noexcept
 
 SdlSelectWidget (const SdlSelectWidget &other)=delete
 
SdlSelectWidgetoperator= (const SdlSelectWidget &other)=delete
 
SdlSelectWidgetoperator= (SdlSelectWidget &&other)=delete
 
virtual bool set_mouseover (SDL_Renderer *renderer, bool mouseOver)
 
virtual bool set_highlight (SDL_Renderer *renderer, bool highlight)
 
virtual bool update_text (SDL_Renderer *renderer)
 
- Public Member Functions inherited from SdlWidget
 SdlWidget (SDL_Renderer *renderer, SDL_Rect rect, bool input)
 
 SdlWidget (SdlWidget &&other) noexcept
 
bool fill (SDL_Renderer *renderer, SDL_Color color)
 
bool fill (SDL_Renderer *renderer, const std::vector< SDL_Color > &colors)
 
bool update_text (SDL_Renderer *renderer, const std::string &text, SDL_Color fgcolor)
 
bool update_text (SDL_Renderer *renderer, const std::string &text, SDL_Color fgcolor, SDL_Color bgcolor)
 
bool wrap () const
 
bool set_wrap (bool wrap=true, size_t width=0)
 
const SDL_Rect & rect () const
 
 SdlWidget (const SdlWidget &other)=delete
 
SdlWidgetoperator= (const SdlWidget &other)=delete
 
SdlWidgetoperator= (SdlWidget &&other)=delete
 
 SdlWidget (SDL_Renderer *renderer, const SDL_FRect &rect, bool input)
 
 SdlWidget (SDL_Renderer *renderer, const SDL_FRect &rect, SDL_IOStream *ops)
 
 SdlWidget (const SdlWidget &other)=delete
 
 SdlWidget (SdlWidget &&other) noexcept
 
SdlWidgetoperator= (const SdlWidget &other)=delete
 
SdlWidgetoperator= (SdlWidget &&other)=delete
 
bool fill (SDL_Renderer *renderer, SDL_Color color)
 
bool fill (SDL_Renderer *renderer, const std::vector< SDL_Color > &colors)
 
bool update_text (SDL_Renderer *renderer, const std::string &text, SDL_Color fgcolor)
 
bool update_text (SDL_Renderer *renderer, const std::string &text, SDL_Color fgcolor, SDL_Color bgcolor)
 
bool wrap () const
 
bool set_wrap (bool wrap=true, size_t width=0)
 
const SDL_FRect & rect () const
 

Additional Inherited Members

- Static Public Member Functions inherited from SdlWidget
static bool error_ex (Uint32 res, const char *what, const char *file, size_t line, const char *fkt)
 
static bool error_ex (Uint32 res, const char *what, const char *file, size_t line, const char *fkt)
 

Detailed Description

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.

Definition at line 28 of file SDL2/dialogs/sdl_select.hpp.


The documentation for this class was generated from the following files: