Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Drawing tools icons?
Collapse
X
-
Drawing tools icons?
I wasn't sure where to put this, but I got a stream deck which I plan to map the key commands for drawing objects onto. Before I go and create custom shapes for every single drawing tool, I was hoping there was an easy way to pull the icons from NT8. As far as I know they aren't available anywhere and it is some kind of internal font. Is there a way I can accomplish this? Is there a directory or resources somewhere? Thanks.Tags: None
-
Hello augustfay,
Thank you for the post.
The most consistent way to do that would be how the DrawingToolTile indicator gets icons for the tools it uses. In that situation it uses the string name of each tool, creates an instance of said tool and retrieves its icon for the buttons. That would be the logic starting at line 189.
You can also view the code for the internal drawing tools to look for their Icon override to find the constant value, for example the andrews pitchfork has Gui.Tools.Icons.DrawAndrewsPitchfork. This would work for any internal tool, if you plan to display icons for custom tools the way DrawingToolTile indicator does it would be the correct way.
I look forward to being of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
571 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
331 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
549 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
549 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment