GrafX2 2.9.3227
The ultimate 256-color painting program
factory.c File Reference

Brush factory - generates brush from lua scripts. More...

#include <math.h>
#include "brush.h"
#include "buttons.h"
#include "engine.h"
#include "errors.h"
#include "filesel.h"
#include "fileseltools.h"
#include "global.h"
#include "graph.h"
#include "io.h"
#include "misc.h"
#include "osdep.h"
#include "pages.h"
#include "readline.h"
#include "screen.h"
#include "windows.h"
#include "palette.h"
#include "input.h"
#include "help.h"
#include "realpath.h"
#include "setup.h"
#include "tiles.h"
+ Include dependency graph for factory.c:

Functions

void Button_Brush_Factory (void)
 
const char * Lua_version (void)
 Returns a string stating the included Lua engine version, or "Disabled" if Grafx2 is compiled without Lua. More...
 

Variables

char * Bound_script [10]
 Lua scripts bound to shortcut keys. More...
 

Detailed Description

Brush factory - generates brush from lua scripts.

The brush factory allows you to generate brushes with Lua code.

Function Documentation

◆ Button_Brush_Factory()

void Button_Brush_Factory ( void  )

References Verbose_message().

◆ Lua_version()

const char * Lua_version ( void  )

Returns a string stating the included Lua engine version, or "Disabled" if Grafx2 is compiled without Lua.

Referenced by Button_Stats().

Variable Documentation

◆ Bound_script

char* Bound_script[10]

Lua scripts bound to shortcut keys.

Referenced by Load_CFG(), Program_shutdown(), and Save_CFG().