21#ifndef HEADER_RATING_BAR_HPP
22#define HEADER_RATING_BAR_HPP
26#include "guiengine/widget.hpp"
27#include "utils/leak_check.hpp"
28#include "utils/ptr_vector.hpp"
43 std::vector<int> m_star_values;
47 void setStepValues(
float rating);
74 void setStepValuesByMouse(
const core::position2di & mouse_position,
const core::recti & stars_rect);
76 virtual EventPropagation
onClick();
78 void allowVoting() { m_allow_voting =
true; }
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:33