forked from VitorPinheiro/SequentProver
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathConstantsForLove.lua
58 lines (50 loc) · 1.36 KB
/
ConstantsForLove.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
-------------------------------------------------------------------------------
-- Constants Module
--
-- Contains all the constants used by the graphic module.
--
-- @authors: Vitor, Jefferson, Bernardo
--
-------------------------------------------------------------------------------
-- Positioning definitions
windowWidth = 1024
windowHeight = 640
xLim = 30
yLim = 30
xStep = 40
yStep = 40
xBegin = windowWidth / 2
yBegin = 60
-- Pan screen
xInitial = 0
yInitial = 0
-- Tamanho vertice e arestas
circleSeparation = 20
raioDoVertice = 5
escalaLetraVertice = .85 -- <1 para diminuir e >=1 para aumentar
escalaLetraAresta = .75
-- Botões do mouse (de Löve 0.9 para 0.10 houve alterações)
leftMouseButton = 1
rightMouseButton = 2
middleMouseButton = 3
-- String para mensagem de erro
xDebug = 10
yDebug = 10
countDebugMsgs = 1
MsgDebugTable = {}
MsgDebugTable[1] = "Prover debug messages:-----------------------------------"
-- Button names
expandAllButtonName = "Expand All"
inputFormulaButtonName = "Input Formula"
expandFormulaButtonName = "Expand Formula"
printProofButtonName = "Print Proof"
printGraphButtonName = "Print Graph"
buttonTime = 0.15
-- Editing States
InputingFormula = "InputingFormula"
InputingCommand = "InputingCommand"
NoInputing = ""
-- Logic System to Load
systemND = "NaturalDeduction"
systemSeqCalc = "SequentCalculus"
logicSystem = systemSeqCalc