X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=tools%2Fdunger%2Fsrc%2Flview.h;h=408b4100df4c1aa235b7063b9463fa43fd92d7e5;hb=594c18e3671a27624a867071b5bafd08148652b3;hp=0788b71cfcc6cb0a0a62e56bf1b0fbd59b4b09cb;hpb=576f9aa6409354c392d2ff661d61dbf6d967a8f8;p=vrlugburz diff --git a/tools/dunger/src/lview.h b/tools/dunger/src/lview.h index 0788b71..408b410 100644 --- a/tools/dunger/src/lview.h +++ b/tools/dunger/src/lview.h @@ -11,11 +11,13 @@ void lview_viewport(int x, int y, int xsz, int ysz); void pan_lview(float dx, float dy); void zoom_lview(float dz); +void lview_mbutton(int bn, int press, int x, int y); void lview_mouse(int x, int y); void draw_lview(void); void cell_to_pos(int cx, int cy, float *px, float *py); struct cell *pos_to_cell(float px, float py, int *cx, int *cy); +void cell_coords(struct cell *cell, int *col, int *row); #endif /* LVIEW_H_ */