#include <stdlib.h>
#include <iostream>
#include <constants.h>
#include "agar.h"
Funkce | |
void | agar_init (SDL_Surface *window, const char *font_path, const char *font_face, int font_size, const char *colors) |
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) |
static bool | locate_in_dir (int depth, const std::string &path, const std::string &name, std::string &res) |
static bool | locate_in_path (const std::string &path, const std::string &name, std::string &res) |
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) |
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 | |||
) |
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 | |||
) |
bool locate_file | ( | const std::string & | hint_path, | |
const std::string & | name, | |||
std::string & | res | |||
) |
static bool locate_in_dir | ( | int | depth, | |
const std::string & | path, | |||
const std::string & | name, | |||
std::string & | res | |||
) | [static] |
static bool locate_in_path | ( | const std::string & | path, | |
const std::string & | name, | |||
std::string & | res | |||
) | [static] |
void setFocus | ( | AG_Widget * | w | ) |
void setFocusOnMotion | ( | AG_Widget * | w | ) |
void unsetFocus | ( | AG_Widget * | w | ) |