AllegroFlare/Elements/SelectionCursorBox
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
position |
AllegroFlare::Vec2D |
position_destination |
AllegroFlare::Vec2D |
size |
AllegroFlare::Vec2D |
size_destination |
AllegroFlare::Vec2D |
padding |
AllegroFlare::Vec2D |
core_color |
ALLEGRO_COLOR |
roundness |
float |
thickness |
float |
reposition_multiplier |
float |
last_repositioned_at |
float |
DEFAULT_CURSOR_REPOSITION_MULTIPLIER |
float |
Methods
set_position(float x=0.0f, float y=0.0f, float time_now=al_get_time()) |
set_position_quietly(float x=0.0f, float y=0.0f) |
set_size(float x=0.0f, float y=0.0f, float time_now=al_get_time()) |
set_size_quietly(float x=0.0f, float y=0.0f) |
set_padding(float padding_x=0.0f, float padding_y=0.0f, float time_now=0 /* this arg currently not used */) |
reposition_to(float x=0.0f, float y=0.0f, float time_now=al_get_time()) |
resize_to(float x=0.0f, float y=0.0f, float time_now=al_get_time()) |
update_last_repositioned_at(float time_now=al_get_time()) |
update() |
render() |
build_cursor_color() |
draw_cursor_rectangle(float x=0.0f, float y=0.0f, float w=0.0f, float h=0.0f, float padding_x=0.0f, float padding_y=0.0f) |
draw_cursor() |
infer_cursor_change_age(float time_now=al_get_time()) |
Dependencies
{"symbol"=>"fmod", "headers"=>["cmath"]} |
{"symbol"=>"AllegroFlare::FontBin", "headers"=>["AllegroFlare/FontBin.hpp"]} |
{"symbol"=>"ALLEGRO_COLOR", "headers"=>["allegro5/allegro.h"]} |
{"symbol"=>"ALLEGRO_FONT", "headers"=>["allegro5/allegro_font.h"]} |
{"symbol"=>"al_draw_rounded_rectangle", "headers"=>["allegro5/allegro_primitives.h"]} |
{"symbol"=>"AllegroFlare::Vec2D", "headers"=>["AllegroFlare/Vec2D.hpp"]} |
{"symbol"=>"AllegroFlare::Color", "headers"=>["AllegroFlare/Color.hpp"]} |
{"symbol"=>"AllegroFlare::interpolator", "headers"=>["AllegroFlare/Interpolators.hpp"]} |
Sponsor
CLUBCATT has cat shirts, mugs, games and puzzles you'll love