Custom Panel Zoom

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
tomas30
Posts: 7
Joined: 17 Feb 2021, 10:07

Custom Panel Zoom

Post by tomas30 »

Hello dear TVPaint Community,

I'm currently putting together my very own Custom Panel and because my pen doesn't have left & right click, I want to add a hand (zoom navigator) and magnifying glass (zoom in tool). But I only know how to add brushes. How do I add these other two tools? As a gratitude I want to show you https://expeditionikivuq.com/ mobile games for ipod, truly awesome thing.
Last edited by tomas30 on 23 Mar 2021, 16:49, edited 1 time in total.
User avatar
Peter Wassink
Posts: 4306
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: Custom Panel Zoom

Post by Peter Wassink »

In the custom panel; Right mouse click > Add action
then in the "end" pulldown bar choose:
> Set keystroke> Zoom > In & Out

you can also assign zoom-in and -out to custom keyboard keys using the " Configure Keyboard shortcuts " panel

Note that both options do not make use of your cursor position to center the zoom.
which i think they should... so that would be a feature request.

Or use the + and - buttons in the navigator panel
This panel allows you to quickly center the zoom
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
User avatar
D.T. Nethery
Posts: 4147
Joined: 27 Sep 2006, 19:19

Re: Custom Panel Zoom

Post by D.T. Nethery »

EDIT: oh, I see Peter beat me to it. Anyway, here is what I had to say about the subject:

----

Go to Custom Panels > New Custom Panel to create a new Custom Panel.

Right-click with mouse on the Custom Panel to bring up menu , select Add Action .
Then go to Set Keystroke. Add Keystroke for Zoom In. That is your first button.
Repeat to add Keystroke for Zoom Out. That is your second button.
Repeat to add Keystroke for Hand Tool (pan project window).


(click images to view larger)
Create_Action_Set_Keystroke_ZOOM_IN.jpg
Create_Action_set_Keystroke_HAND_TOOL.jpg
You can create your own Custom Icons for your newly created buttons on your Custom Panel:

Draw your icon anywhere in your project window and then cut it out as a perfect square brush (hold down Shift while dragging out your cutbrush box and you will always get a perfect square). Then RMB on EDIT within your Custom Panel and when it opens, LMB click on TOOL: you have your icon.


You can activate the same actions with Keyboard . > is Zoom In , < is Zoom Out , Alt (Option) key is Hand Tool .
In the Shortcuts list you could change Zoom In and Zoom Out to different keys if you prefer. Hand Tool (pan project window) can not be changed from Alt/Option.

Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
Post Reply