Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
commandbutton.qh
Go to the documentation of this file.
1#pragma once
2
3#include "button.qh"
9
10entity makeXonoticCommandButton_T(string theText, vector theColor, string theCommand, int theFlags, string theTooltip);
11entity makeXonoticCommandButton(string theText, vector theColor, string theCommand, int theFlags);
13
14#ifndef COMMANDBUTTON_CLOSE
15# define COMMANDBUTTON_CLOSE 1
16# define COMMANDBUTTON_APPLY 2
17//# define COMMANDBUTTON_REVERT 4
18#endif
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
ATTRIB(XonoticCommandButton, onClickCommand, string)
virtual void configureXonoticCommandButton()
entity makeXonoticCommandButton(string theText, vector theColor, string theCommand, int theFlags)
entity makeXonoticCommandButton_T(string theText, vector theColor, string theCommand, int theFlags, string theTooltip)
void XonoticCommandButton_Click(entity me, entity other)
entity other
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281
#define METHOD(cname, name, prototype)
Definition oo.qh:269
vector
Definition self.qh:92