X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fitem%2Fslider.qc;h=e944a96aea18f010c7a6e3dd5b25ddc8ec15cfbf;hb=ff442844108257ce535eae6dc08eaf659ff5efd7;hp=2c74f6131c8f06e40e4a530bcb3720e2e2612613;hpb=530e06120a7b41f6175b1144fedf6903da8c13b0;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/item/slider.qc b/qcsrc/menu/item/slider.qc index 2c74f6131..e944a96ae 100644 --- a/qcsrc/menu/item/slider.qc +++ b/qcsrc/menu/item/slider.qc @@ -1,7 +1,9 @@ // Note: // to use this, you FIRST call configureSliderVisuals, then configureSliderValues -#ifdef INTERFACE -CLASS(Slider) EXTENDS(Label) +#ifndef ITEM_SLIDER_H +#define ITEM_SLIDER_H +#include "label.qc" +CLASS(Slider, Label) METHOD(Slider, resizeNotify, void(entity, vector, vector, vector, vector)) METHOD(Slider, configureSliderVisuals, void(entity, float, float, float, string)) METHOD(Slider, configureSliderValues, void(entity, float, float, float, float, float, float))