mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 14:42:07 +00:00
30bd1c0134
Hitting enter after inputting text is currently broken, but that's because support for it was never put in the inputline wrapper code.
15 lines
191 B
R
15 lines
191 B
R
#include "cvar.h"
|
|
|
|
#include "CvarString.h"
|
|
|
|
@implementation CvarString
|
|
-(void)setString: (string) str
|
|
{
|
|
Cvar_SetString (name, str);
|
|
}
|
|
|
|
-(string)value
|
|
{
|
|
return Cvar_GetString (name);
|
|
}
|
|
@end
|