mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-08 17:48:46 -10:00
* Add scaling for vfnts and scale multipler to gr_string * nullptr * Add scaling to a couple other string operations * Add scaling features to additional bitmap drawing methods * Implement framework for rendering hud gauges in config mode * fix merge error * address feedback
19 lines
443 B
C++
19 lines
443 B
C++
#pragma once
|
|
|
|
#include "globalincs/pstypes.h"
|
|
#include "hud/hud.h"
|
|
#include "scripting/lua/LuaFunction.h"
|
|
|
|
class HudGaugeScripting: public HudGauge {
|
|
luacpp::LuaFunction _renderFunction;
|
|
public:
|
|
HudGaugeScripting();
|
|
|
|
void render(float frametime, bool config = false) override;
|
|
|
|
void initName(SCP_string name);
|
|
|
|
const luacpp::LuaFunction& getRenderFunction() const;
|
|
void setRenderFunction(const luacpp::LuaFunction& renderFunction);
|
|
};
|