Buttons

Is it possible to make my own interface buttons? :)

Comments

  • MonsenMonsen Administrator 🖼️ 81 images Cartographer
    Yes. The definitions for the buttons are stored in the .mnu files in your CC3 installation folder (Each add-on has it's own .mnu file). The first part of the file contains the buttons(Those lines that start with a number), the rest are the menus.
    The number indicates which toolbar the button is on, and the position of the toolbar. There should only be one button with each number in each file. And don't use too large numbers, or the button will be off-screen. Then comes the icon (can either be a reference to a built-in icon in CC3, or the path to an image file). After that you see the tool-tip, then the right-click action (In curly brackets, not evrey button has this one), then finally the left-click action.
    Both the left and right click action are standard CC3 commands, the same one you can type in on CC3's command line.

    Simply open up the file in a text editor (like notepad), and examine the existing entries. If you edit the files, make sure not to include any empty lines, CC3 doesn't care for that. You may wish to keep a backup copy of the original file.
  • Simon RogersSimon Rogers Administrator, ProFantasy Traveler
    Look up "Menus, customising" and "Menus, creating your own" The latter shows you how to add buttons.
Sign In or Register to comment.