Blame alsamixer/mixer_clickable.h

Packit Service a9274b
#ifndef MIXER_CLICKABLE_H
Packit Service a9274b
#define MIXER_CLICKABLE_H
Packit Service a9274b
Packit Service a9274b
#include CURSESINC
Packit Service a9274b
#include "bindings.h"
Packit Service a9274b
Packit Service a9274b
struct clickable_rect {
Packit Service a9274b
	short y1;
Packit Service a9274b
	short x1;
Packit Service a9274b
	short y2;
Packit Service a9274b
	short x2;
Packit Service a9274b
	command_enum command;
Packit Service a9274b
	int arg1;
Packit Service a9274b
};
Packit Service a9274b
Packit Service a9274b
void clickable_set(int y1, int x1, int y2, int x2, command_enum command, int arg1);
Packit Service a9274b
void clickable_set_relative(WINDOW *win, int y1, int x1, int y2, int x2, command_enum command, int arg1);
Packit Service a9274b
void clickable_clear(int y1, int x1, int y2, int x2);
Packit Service a9274b
struct clickable_rect* clickable_find(int y, int x);
Packit Service a9274b
Packit Service a9274b
#endif