#include <string>
#include <agar/core.h>
#include <agar/gui.h>
#include <SDL.h>
Funkce | |
void | agar_init (SDL_Surface *window, const char *font_path, const char *font_face, int font_size, const char *colors=0) |
AG_Label * | createLabelJustify (AG_Widget *parent, const char *text) |
void | setFocus (AG_Widget *w) |
void | unsetFocus (AG_Widget *w) |
void | setFocusOnMotion (AG_Widget *w) |
void | handlerMousemotion (AG_Event *event) |
bool | is_dir (const std::string &path) |
bool | is_file (const std::string &path) |
bool | locate_file (const std::string &hint_path, const std::string &name, std::string &res) |
bool | locate_dir (const std::string &hint_path, const std::string &name, std::string &res, bool hint_path_only=false) |
bool | get_home_path (std::string &path) |
void agar_init | ( | SDL_Surface * | window, | |
const char * | font_path, | |||
const char * | font_face, | |||
int | font_size, | |||
const char * | colors = 0 | |||
) |
AG_Label* createLabelJustify | ( | AG_Widget * | parent, | |
const char * | text | |||
) |
bool get_home_path | ( | std::string & | path | ) |
void handlerMousemotion | ( | AG_Event * | event | ) |
bool is_dir | ( | const std::string & | path | ) |
bool is_file | ( | const std::string & | path | ) |
bool locate_dir | ( | const std::string & | hint_path, | |
const std::string & | name, | |||
std::string & | res, | |||
bool | hint_path_only = false | |||
) |
bool locate_file | ( | const std::string & | hint_path, | |
const std::string & | name, | |||
std::string & | res | |||
) |
void setFocus | ( | AG_Widget * | w | ) |
void setFocusOnMotion | ( | AG_Widget * | w | ) |
void unsetFocus | ( | AG_Widget * | w | ) |