Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/tool/kis_tool.h
Show First 20 Lines • Show All 164 Lines • ▼ Show 20 Line(s) | 159 | enum ToolAction { | |||
---|---|---|---|---|---|
165 | AlternatePickBgImage, | 165 | AlternatePickBgImage, | ||
166 | AlternateSecondary, | 166 | AlternateSecondary, | ||
167 | AlternateThird, | 167 | AlternateThird, | ||
168 | AlternateFourth, | 168 | AlternateFourth, | ||
169 | AlternateFifth, | 169 | AlternateFifth, | ||
170 | Alternate_NONE = 10000 | 170 | Alternate_NONE = 10000 | ||
171 | }; | 171 | }; | ||
172 | 172 | | |||
173 | // Technically users are allowed to configure this, but nobody ever would do that. | ||||
174 | // So these can basically be thought of as aliases to ctrl+click, etc. | ||||
173 | enum AlternateAction { | 175 | enum AlternateAction { | ||
174 | ChangeSize = AlternateChangeSize, | 176 | ChangeSize = AlternateChangeSize, // Default: Shift+Left click | ||
175 | PickFgNode = AlternatePickFgNode, | 177 | PickFgNode = AlternatePickFgNode, // Default: Ctrl+Alt+Left click | ||
176 | PickBgNode = AlternatePickBgNode, | 178 | PickBgNode = AlternatePickBgNode, // Default: Ctrl+Alt+Right click | ||
177 | PickFgImage = AlternatePickFgImage, | 179 | PickFgImage = AlternatePickFgImage, // Default: Ctrl+Left click | ||
178 | PickBgImage = AlternatePickBgImage, | 180 | PickBgImage = AlternatePickBgImage, // Default: Ctrl+Right click | ||
179 | Secondary = AlternateSecondary, | 181 | Secondary = AlternateSecondary, | ||
180 | Third = AlternateThird, | 182 | Third = AlternateThird, | ||
181 | Fourth = AlternateFourth, | 183 | Fourth = AlternateFourth, | ||
182 | Fifth = AlternateFifth, | 184 | Fifth = AlternateFifth, | ||
183 | NONE = 10000 | 185 | NONE = 10000 | ||
184 | }; | 186 | }; | ||
185 | 187 | | |||
186 | static AlternateAction actionToAlternateAction(ToolAction action); | 188 | static AlternateAction actionToAlternateAction(ToolAction action); | ||
▲ Show 20 Lines • Show All 183 Lines • Show Last 20 Lines |