Author Topic: Making effects add-ins/plugin/extension  (Read 7274 times)

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Making effects add-ins/plugin/extension
« Reply #15 on: February 14, 2016, 12:22:42 PM »
I use Greenfish Icon Editor Pro to draw or edit the XPM files on Windows.

You kinda need to be able to figure out how to design the panels with the sliders and edit boxes inside the GUI designer to be able to create the panel for an effect.  That comes with some tribal knowledge of how to connect the sliders and text boxes to events that will allow them to cross update each other.  I learned by looking at what was already there.  I didn't have anything to teach me.  That's kinda what establishes someone as capable of adding content.

Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: Making effects add-ins/plugin/extension
« Reply #16 on: February 14, 2016, 12:25:34 PM »
I will remake the developers video so it is current to xlights 4.0. I also use greenfish icon editor.


Sent from my iPhone using Tapatalk
Sean
Littleton, CO
Latest releases http://nutcracker123.com/nutcracker/releases
xLights/Nutcracker Forum http://nutcracker123.com/forum/index.php
Fbook [url=https://www.facebook.com/groups/62

Offline Steve Gase

  • Sr. Member
  • ****
  • Posts: 284
    • View Profile
    • WinterLightShow in Georgetown, TX
Re: Making effects add-ins/plugin/extension
« Reply #17 on: February 14, 2016, 02:26:35 PM »
Thanks everyone...  I used gimp for windows and I make my changes so that I now have the copied effect working with new icons.

I'll start working on my effects now.  The ideas for new ones are starting to flow now... :)

And thanks, Sean, for putting together a new video!
http://WinterLightShow.com  |  110K channels, 50K lights  |  Nutcracker, Falcon, DLA, HolidayCoro

Offline Steve Gase

  • Sr. Member
  • ****
  • Posts: 284
    • View Profile
    • WinterLightShow in Georgetown, TX
Re: Making effects add-ins/plugin/extension
« Reply #18 on: February 14, 2016, 02:46:12 PM »
Thanks for the suggestion.  I like the Greenfish Icon Editor Pro... very friendly and more intuitive to me.

Gimp made changes to the resource name within the xpm replacing the variable name with the file path name... so required a text editor to clean up the file... Greenfish dropped "const" but otherwise didn't mess up the file.   

I did have a problem in Greenfish with the first file I tried -- an "access problem" I believe a segmentation problem (coding error), but it allowed me to ignore so that I could save my work.
« Last Edit: February 14, 2016, 05:51:14 PM by Steve Gase »
http://WinterLightShow.com  |  110K channels, 50K lights  |  Nutcracker, Falcon, DLA, HolidayCoro

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: Making effects add-ins/plugin/extension
« Reply #19 on: February 14, 2016, 06:34:04 PM »
There are also a BUNCH of online image converters like http://www.files-conversion.com/image/xpm and similar that will take just about any image format and allow conversion to xpm.   If you have a favorite image editor, you could then try one of the converters.
Daniel Kulp
Framingham, MA

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Making effects add-ins/plugin/extension
« Reply #20 on: February 14, 2016, 07:59:42 PM »
Yes I normally manually edit the file to add the "const".