Xonotic
playlist.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "listbox.qh"
5  METHOD(XonoticPlayList, configureXonoticPlayList, void(entity));
6  ATTRIB(XonoticPlayList, rowsPerItem, float, 1);
7  METHOD(XonoticPlayList, resizeNotify, void(entity, vector, vector, vector, vector));
8  METHOD(XonoticPlayList, draw, void(entity));
9  METHOD(XonoticPlayList, drawListBoxItem, void(entity, int, vector, bool, bool));
10  METHOD(XonoticPlayList, stopSound, void(entity));
11  METHOD(XonoticPlayList, startSound, void(entity, float));
12  METHOD(XonoticPlayList, resumeSound, void(entity));
13  METHOD(XonoticPlayList, pauseSound, void(entity));
14  METHOD(XonoticPlayList, doubleClickListBoxItem, void(entity, float, vector));
15  METHOD(XonoticPlayList, keyDown, float(entity, float, float, float));
16  METHOD(XonoticPlayList, mouseDrag, float(entity, vector));
17 
18  METHOD(XonoticPlayList, addToPlayList, void(entity, string));
19  METHOD(XonoticPlayList, removeSelectedFromPlayList, void(entity));
20  ATTRIB(XonoticPlayList, playingTrack, float, -1);
21 
22  ATTRIB(XonoticPlayList, realFontSize, vector, '0 0 0');
23  ATTRIB(XonoticPlayList, columnNameOrigin, float, 0);
24  ATTRIB(XonoticPlayList, columnNameSize, float, 0);
25  ATTRIB(XonoticPlayList, columnNumberOrigin, float, 0);
26  ATTRIB(XonoticPlayList, columnNumberSize, float, 0);
27  ATTRIB(XonoticPlayList, realUpperMargin, float, 0);
29  ATTRIB(XonoticPlayList, itemAbsSize, vector, '0 0 0');
31 
33 void PlayList_Remove(entity btn, entity me);
34 void PlayList_Remove_All(entity btn, entity me);
35 void StopSound_Click(entity btn, entity me);
36 void StartSound_Click(entity btn, entity me);
37 void PauseSound_Click(entity btn, entity me);
38 void PrevSound_Click(entity btn, entity me);
39 void NextSound_Click(entity btn, entity me);
CLASS(Object) Object
Definition: oo.qh:318
void StartSound_Click(entity btn, entity me)
Definition: playlist.qc:212
entity() spawn
entity makeXonoticPlayList()
Definition: playlist.qc:3
void PauseSound_Click(entity btn, entity me)
Definition: playlist.qc:243
void PlayList_Remove(entity btn, entity me)
Definition: playlist.qc:92
origin
Definition: ent_cs.qc:114
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
void NextSound_Click(entity btn, entity me)
Definition: playlist.qc:222
vector(float skel, float bonenum) _skel_get_boneabs_hidden
void PlayList_Remove_All(entity btn, entity me)
Definition: playlist.qc:97
#define ENDCLASS(cname)
Definition: oo.qh:269
void PrevSound_Click(entity btn, entity me)
Definition: playlist.qc:217
void StopSound_Click(entity btn, entity me)
Definition: playlist.qc:174