Go to the documentation of this file.
120 void scroll_grid_window(
int x,
int y,
int deltax = 0,
int deltay = 0,
bool stop =
true);
void set_grid_size(int sx, int sy)
create a scrollable grid area
Definition: gridarea.cpp:32
int get_last(int x, int y)
get the last cell character at grid position (x, y)
Definition: gridarea.cpp:153
void set_grid_border(int ch)
set the border of the scrollable grid area
Definition: gridarea.cpp:108
void scroll_grid_window(int x, int y, int deltax=0, int deltay=0, bool stop=true)
scroll the displayed grid window to center grid position (x, y)
Definition: gridarea.cpp:568
int get_grid_height()
get the height of the scrollable grid area
Definition: gridarea.cpp:69
int get_same(int x, int y)
get the same cell character at grid position (x, y)
Definition: gridarea.cpp:169
void release_grid()
release allocated memory
Definition: gridarea.cpp:582
bool check_grid(int ch)
check grid cell area for presence of character ch
Definition: gridarea.cpp:284
void place_random(int ch, int num, int exclude)
place random characters
Definition: gridarea.cpp:495
void redraw_grid_window(int x, int y)
redraw the displayed grid window at center grid position (x, y)
Definition: gridarea.cpp:554
void set_extra(int x, int y, int ch)
set the extra grid cell at grid position (x, y) to character ch
Definition: gridarea.cpp:262
int * get_grid_area(int x, int y, int sx, int sy)
get the grid cell area at top-left position (x, y) with size (sx, sy)
Definition: gridarea.cpp:317
void set_grid_window_size(int sx, int sy)
set the size of the displayed grid window
Definition: gridarea.cpp:75
void replace(const Mat3 &m)
replace current transformation with a given transformation matrix
Definition: math2d.cpp:35
void set_grid_animation_string(int ch, const char *str)
set character animation string
Definition: gridarea.cpp:633
void set_grid_text(int x, int y, const char *text)
set the grid cells at top-left grid position (x, y) to a text string
Definition: gridarea.cpp:354
void render_grid_frame(int x1, int y1, int x2, int y2, int ch)
render a grid frame from position (x1, y1) to (x2, y2)
Definition: gridarea.cpp:454
void render_grid_line(int x1, int y1, int x2, int y2, int ch)
render a grid line from position (x1, y1) to (x2, y2)
Definition: gridarea.cpp:377
void set_same(int x, int y, int ch)
set the same cell at grid position (x, y) to character ch
Definition: gridarea.cpp:244
void center_grid_window(int x, int y)
scroll the displayed grid window to center position (x, y)
Definition: gridarea.cpp:546
int count_grid(int ch)
count character ch in grid cell area
Definition: gridarea.cpp:295
void set_grid_animation(int ch, int num, const int *data)
set character animation
Definition: gridarea.cpp:614
void set_last(int x, int y, int ch)
set the last cell at grid position (x, y) to character ch
Definition: gridarea.cpp:227
void inverse_flood_fill_grid(int x, int y, int ch)
flood-fill everything but a grid cell area starting at position (x, y)
Definition: gridarea.cpp:476
void clear_grid(int ch=' ')
clear the scrollable grid area
Definition: gridarea.cpp:89
void replace_grid(int ch, int replace)
replace character ch in grid cell area
Definition: gridarea.cpp:308
void clear_extra(int ch=-1)
clear the scrollable extra grid area
Definition: gridarea.cpp:100
void set_grid(int x, int y, int ch)
set the grid cell at grid position (x, y) to character ch
Definition: gridarea.cpp:210
void set_grid_wraparound(bool yes=true)
is the grid wrapping around or not?
Definition: gridarea.cpp:83
void flood_fill_grid(int x, int y, int ch)
flood-fill a grid cell area starting at position (x, y)
Definition: gridarea.cpp:463
void set_grid_area(int x, int y, int sx, int sy, const int *data)
set a grid cell area at top-left position (x, y) with size (sx, sy)
Definition: gridarea.cpp:337
int get_grid_width()
get the width of the scrollable grid area
Definition: gridarea.cpp:63
int get_grid(int x, int y)
get the grid cell character at grid position (x, y)
Definition: gridarea.cpp:137
int get_extra(int x, int y)
get the extra grid cell character at grid position (x, y)
Definition: gridarea.cpp:188
void position_grid_window(int x, int y)
position the displayed grid window at center position (x, y)
Definition: gridarea.cpp:538