TasteConfig.ini 3.74 KB
Newer Older
Jerome Legrand's avatar
Jerome Legrand committed
1
package provide TasteConfig 0.1
Maxime Perrotin's avatar
Maxime Perrotin committed
2 3 4

lappend auto_path .
namespace eval TasteConfig {
Jerome Legrand's avatar
Jerome Legrand committed
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 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
	variable config { \
		"instanceSelectColor" "green" \
		"logDirectory" "tmp/TASTE" \
		"font" "Helvetica" \
		"fontSize" "9" \
		"functionLabelValidation" "1.3" \
		"diagFont" "Helvetica" \
		"diagFontSize" "9" \
		"interlineInPercentOfFont" "1.2" \
		"gitExe" "C:/Program Files/TortoiseGit/bin/git.exe" \
		"asn2aadlPath" "asn2aadlPlus" \
	}

	variable accelerators { \
		"removeAccelerator" "Delete" \
		"editAccelerator" "Control-e" \
		"newAccelerator" "Control-n" \
		"openAccelerator" "Control-o" \
		"saveAccelerator" "Control-s" \
		"quitAccelerator" "Control-q" \
		"copyAccelerator" "Control-c" \
		"pasteAccelerator" "Control-v" \
		"cutAccelerator" "Control-x" \
		"undoAccelerator" "Control-z" \
		"redoAccelerator" "Control-y" \
		"zoominAccelerator" "Control-plus" \
		"zoomoutAccelerator" "Control-minus" \
		"diagramUpAccelerator" "Control-Up" \
		"diagramDownAccelerator" "Control-Down" \
		"diagramLeftAccelerator" "Control-Left" \
		"diagramRightAccelerator" "Control-Right" \
		"selectionUpAccelerator" "Up" \
		"selectionDownAccelerator" "Down" \
		"selectionLeftAccelerator" "Left" \
		"selectionRightAccelerator" "Right" \
	}

	variable IVObjectsConfig { \
        "Function" {"color" "gray50" "fillColor" "gold" "nonTerminalColor" "gray"} \
        "ProvidedInterface" {"color" "#1560BD" "fillColor" "blue"} \
        "RequiredInterface" {"color" "#1560BD" "fillColor" "blue"} \
        "FeatureGroup" {"color" "#1560BD" "fillColor" "blue"} \
        "RelationGroup" {"color" "#1560BD" "fillColor" "black"} \
        "GenericConnection" {"color" "#1560BD" "fillColor" "black"} \
        "Comment" {"color" "gray50" "fillColor" "white"} \
	}

	variable IVConfig { \
		"diagramWidth" "297000" \
		"diagramHeight" "210000" \
		"diagramXUnit" "2" \
		"diagramYUnit" "2" \
		"zoomoutBound" "false" \
		"gridSnap" "true" \
		"selectionColor" "green" \
		"editableColor" "orange" \
		"emptyPercent" "0.9" \
		"removeDialogBox" "false" \
		"selectionPrecision" "2" \
		"minInterfaceSize" "2" \
		"maxInterfaceSize" "40" \
		"zoomLabel" "false" \
		"editablePercent" "0.9" \
		"hidePercent" "0.1" \
		"hideTextPercent" "0.3" \
		"hideLabelPercent1" "0.5" \
		"hideLabelPercent2" "0.5" \
		"delayMaskInformation" "100" \
		"zoomFactor" "0.9" \
		"instanceSelectColor" "red" \
		"displayConnectionLabel" "false" \
	}

	variable DVObjectsConfig { \
		"ProcessorBoard" {"color" "black" "fillColor" "gray"} \
		"Processor" {"color" "black" "fillColor" "yellow"} \
		"Partition" {"color" "black" "fillColor" "yellow"} \
		"Device" {"color" "black" "fillColor" "gray"} \
		"Bus" {"color" "black" "fillColor" "gray"} \
		"Driver" {"color" "black" "fillColor" "yellow"} \
		"FunctionDV" {"color" "black" "fillColor" "yellow"} \
		"ConnectionDV" {"color" "black" "fillColor" "yellow"} \
        "Comment" {"color" "gray50" "fillColor" "white"} \
        "GenericConnection" {"fillColor" "black"} \
        "GenericConnector" {"fillColor" "black"} \
	}
Maxime Perrotin's avatar
Maxime Perrotin committed
91

Jerome Legrand's avatar
Jerome Legrand committed
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
	variable DVConfig {\
		"diagramWidth" "297000" \
		"diagramHeight" "210000" \
		"diagramXUnit" "2" \
		"diagramYUnit" "2" \
		"zoomoutBound" "false" \
		"gridSnap" "false" \
		"selectionColor" "green" \
		"editableColor" "orange" \
		"emptyPercent" "3.0" \
		"removeDialogBox" "false" \
		"selectionPrecision" "2" \
		"minInterfaceSize" "2" \
		"maxInterfaceSize" "40" \
		"zoomLabel" "false" \
		"editablePercent" "0.9" \
		"hidePercent" "0.1" \
		"hideTextPercent" "0.3" \
		"hideLabelPercent1" "0.5" \
		"hideLabelPercent2" "0.5" \
		"delayMaskInformation" "300" \
		"zoomFactor" "0.9" \
		"instanceSelectColor" "red" \
		"displayConnectionLabel" "false" \
	}
Maxime Perrotin's avatar
Maxime Perrotin committed
117
}