AllegroFlare/Elements/LevelSelect
view source (cpp, hpp, quintessence) • view tests (test file)
  
    Properties
     
  | event_emitter | AllegroFlare::EventEmitter* | 
  | font_bin | AllegroFlare::FontBin* | 
  | levels_list | std::vector<std::pair<std::string, std::string>> | 
  | on_menu_choice_callback_func | std::function<void(AllegroFlare::Elements::LevelSelect*, void*)> | 
  | on_menu_choice_callback_func_user_data | void* | 
  | place | AllegroFlare::Placement2D | 
  | cursor_x | int | 
  | cursor_y | int | 
  | selection_box_width | int | 
  | selection_box_height | int | 
  | selection_box_spacing_x | int | 
  | selection_box_spacing_y | int | 
  | num_columns | int | 
  | num_rows | int | 
  | ignore_on_invalid_selection | bool | 
    
     Methods
     
  | opaquify(ALLEGRO_COLOR color={0,0,0,0}) | 
  | change_a(ALLEGRO_COLOR color={0,0,0,0}, float alpha=1.0f) | 
  | render() | 
  | draw_backfill_and_frame() | 
  | draw_level_select_title_text() | 
  | draw_level_select_boxes_and_cursor() | 
  | move_cursor_up() | 
  | move_cursor_down() | 
  | move_cursor_left() | 
  | move_cursor_right() | 
  | has_valid_size() | 
  | list_is_empty() | 
  | draw_selection_cursor(float x=0.0f, float y=0.0f) | 
  | draw_level_list_item_box(float x=0.0f, float y=0.0f, float w=1.0f, float h=1.0f, std::string label="[unlabeled]") | 
  | activate_selected_menu_option() | 
  | infer_current_menu_option_value() | 
  | infer_cursor_position() | 
  | cursor_selection_is_valid() | 
  | obtain_title_font() | 
  | obtain_level_label_font() | 
    
     Dependencies
     
  | {"symbol"=>"AllegroFlare::Placement2D", "headers"=>["AllegroFlare/Placement2D.hpp"]} | 
  | {"symbol"=>"ALLEGRO_COLOR", "headers"=>["allegro5/allegro.h"]} | 
  | {"symbol"=>"X", "headers"=>["allegro5/allegro_primitives.h", "allegro5/allegro_color.h"]} | 
  | {"symbol"=>"AllegroFlare::Color", "headers"=>["AllegroFlare/Color.hpp"]} | 
  | {"symbol"=>"AllegroFlare::interpolator", "headers"=>["AllegroFlare/Interpolators.hpp"]} | 
  | {"symbol"=>"fmod", "headers"=>["cmath"]} | 
  | {"symbol"=>"ALLEGRO_FLARE_EVENT_SELECT_LEVEL", "headers"=>["AllegroFlare/EventNames.hpp"]} | 
  | {"symbol"=>"AllegroFlare::EventEmitter", "headers"=>["AllegroFlare/EventEmitter.hpp"]} | 
  | {"symbol"=>"AllegroFlare::FontBin", "headers"=>["AllegroFlare/FontBin.hpp"]} | 
  | {"symbol"=>"ALLEGRO_FONT", "headers"=>["allegro5/allegro_font.h"]} | 
  | {"symbol"=>"AllegroFlare::Elements::LevelSelect", "headers"=>["AllegroFlare/Elements/LevelSelect.hpp"]} | 
  | {"symbol"=>"AllegroFlare::Logger", "headers"=>["AllegroFlare/Logger.hpp"]} | 
    
    
Sponsor
Grab cute Cat stickers for your laptop at CLUBCATT