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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
256 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
165 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
170 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
252 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
203 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment