1 | TITLE = "TOOLBOX v1.3"
|
---|
2 |
|
---|
3 | --dofile("dawnbringer_lib.lua")
|
---|
4 |
|
---|
5 | -- Once the library is loaded, the individual scripts will work without loading it themselves
|
---|
6 | dofile("../libs/dawnbringer_lib.lua")
|
---|
7 |
|
---|
8 | function sf_brush()
|
---|
9 | selectbox("Brush",
|
---|
10 | ">RECURSE", sf_brush,
|
---|
11 | -- if you comment out the following line, doing the BRUSH, Back, Quit sequence will not crash. Otherwise, it will.
|
---|
12 | ">RECURSE2", sf_brush,
|
---|
13 | "Brush Info (t)", function () dofile("inf_db_BrushInfo.lua"); end,
|
---|
14 | "Crop margins (b)", function () dofile("bru_db_CropMargins.lua"); end,
|
---|
15 | "Brush 2 Image (i)", function () dofile("pic_db_Brush2Picture.lua"); end,
|
---|
16 | "Scale Simple (b)", function () dofile("bru_db_BrushScaleSimple.lua"); end,
|
---|
17 | "Scale Advanced (b)", function () dofile("bru_db_AdvancedScaling.lua"); end,
|
---|
18 | "Extract PenColor (b)", function () dofile("bru_db_ExtractPenColor.lua"); end,
|
---|
19 | "Apply PenColor (b)", function () dofile("bru_db_ApplyColor.lua");end,
|
---|
20 | "Smart Outline WIP (b)", function () dofile("bru_db_smartOutline.lua");end,
|
---|
21 | "[Back]", main
|
---|
22 | );
|
---|
23 | end
|
---|
24 | -- brush
|
---|
25 |
|
---|
26 | function _quit()
|
---|
27 | -- nada
|
---|
28 | end
|
---|
29 |
|
---|
30 | function _back(caller)
|
---|
31 | --caller()
|
---|
32 | end
|
---|
33 |
|
---|
34 | function main()
|
---|
35 | selectbox(TITLE,
|
---|
36 | ">BRUSH", sf_brush,
|
---|
37 | "[Quit]", _quit
|
---|
38 |
|
---|
39 | );
|
---|
40 | end
|
---|
41 |
|
---|
42 | main()
|
---|