Announcement

Collapse
No announcement yet.

Plugin Updates

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Imagine Programming
    replied
    @Sakuya, Nice one mate, I really like declaring eventfunctions like that! :yes
    And ofcourse, I like the L-OOP, but that's old news

    And the XMLifier is dam nice, guess where I've done the actionxml
    of the PluginInfo plugin with

    Release theeem!

    Leave a comment:


  • Sakuya
    replied
    Updates from Source Laboratories!

    I made a Object-Orientated version of RizlaUK's ListIcon, called it ListIconEx.

    I find it a lot easier to manipulate ListIcon objects like this, it's also a good way to use their event hooks.

    Example:
    Code:
    ListIconObject = ListIconEx.CreateObject(0, 0, 0, 0, "Column 0", 300, {ObjectHost = ListBox.GetProperties("ListBox1").WindowHandle});
    
    ListIconObject.OnKey = function(Key)
    	Dialog.Message("", "Key code recieved was "..tostring(Key));
    end
    
    ListIconObject:SetUpdate(false);
    
    ListIconObject:AddColumn("Column 1", 250);
    
    for K, V in pairs({"bmp", "exe", "url", "php", "txt", "cmd", "rar", "zip", "7z", "tar.gz", "img", "gcf"}) do
    	ListIconObject:AddRow(V.."|"..V.." file.", ListIcon.ExtensionIcon(V));
    end
    
    ListIconObject:SetUpdate(true);
    And an easier way to write Action templates.

    Stick this in your Lua code.

    Code:
    --[[
    	<data>
    		<name>ListIconEx.CreateObject</name>
    		<description>Creates an object-orientated ListIcon object.</description>
    		<return>ListIcon</return>
    
    		<argument name="X" type="number" description="The X position of the ListIcon." default="0" />
    		<argument name="Y" type="number" description="The Y position of the ListIcon." default="0" />
    		<argument name="Width" type="number" description="The width of the ListIcon." default="0" />
    		<argument name="Height" type="number" description="The height of the ListIcon." default="0" />
    		<argument name="ColumnText" type="string" description="The text to be placed in the first column." default="Column0" />
    		<argument name="ColumnSize" type="number" description="The size of the first column." default="250" />
    		<argument name="Flags" type="table" description="Flags for use in creating the ListIcon." />
    	</data>
    ]]--
    Run it through the generator.



    Output: http://pastie.org/887107

    It can also generate HTML help files.

    (nothing to release yet, i'm afraid.)

    Leave a comment:


  • Centauri Soldier
    replied
    Here's an example with the new plugin update.
    Attached Files

    Leave a comment:


  • Centauri Soldier
    replied
    StatusBar Update

    1.3.0.0
    Added side and bottom padding options
    Added the ability to make the StatusBar background and/or border transparent

    The padding options come in handy when you have a project with a custom mask and background. In such a case, you may not want the status bar all the way to the bottom and sides of the window.
    Last edited by Centauri Soldier; 03-25-2010, 01:56 PM.

    Leave a comment:


  • Centauri Soldier
    replied
    GlobalPaths Update

    1.3.0.0
    Updated the IRLua Plugin Helper Functions (version 2.4)
    Configured GlobalPaths to automatically detect a renamed resource folder
    Fixed a bug that occurred when using MoleBox VS

    Leave a comment:


  • Centauri Soldier
    replied
    1.2.0.1
    Simplified the creation process and variables
    Fixed a bug that caused an error when no image file was specified

    Leave a comment:


  • Centauri Soldier
    replied
    Woops, forgot to post a new example after adding the new image support.

    Here ya go.
    Last edited by Centauri Soldier; 03-17-2010, 07:16 PM.

    Leave a comment:


  • jassing
    replied
    Originally posted by Centauri Soldier View Post
    1.2.0.0
    Fixed a bug in the dialog resize code
    Added Image(as status bar icon) support

    There ya go, Bas.
    When running the demo, I got errors on line 1 global, needed 12 args. double clicked on it -- nothing seemed right; so I took the defaults; but then got an error about concatenating a nil.

    Leave a comment:


  • Imagine Programming
    replied
    Originally posted by Centauri Soldier View Post
    1.2.0.0
    Fixed a bug in the dialog resize code
    Added Image(as status bar icon) support

    There ya go, Bas.
    Cool, thanks mate :yes

    Leave a comment:


  • Centauri Soldier
    replied
    1.2.0.0
    Fixed a bug in the dialog resize code
    Added Image(as status bar icon) support

    There ya go, Bas.

    Leave a comment:


  • Centauri Soldier
    replied
    I remember reading about that at some point but I don't quite get it. What does it export them to? Lua code? And where does one call the action?

    So would I wrap the dll into a plugin and then export it?

    EDIT: I'm using an old version of the APC. That's probably why i have no idea what you're talking about. Where do I get the new version?
    EDIT2: Nevermind..I found it. Da*& I'm slipping today. I need to get over this cough, making me all loopy.
    Last edited by Centauri Soldier; 03-16-2010, 08:00 PM.

    Leave a comment:


  • RizlaUK
    replied
    PSDK export feature? What is that?
    huh, the plugin compiler, exports dll's

    Code:
    PSDK.ExportArchive(3000 , IRLUA_PLUGIN_DLL_PATH);

    Leave a comment:


  • Centauri Soldier
    replied
    Originally posted by Imagine Programming View Post
    @Centauri, Oeh i'm interested! I wonder what it is :yes

    And a paragraph? That's really clever! I wouldn't have thought that one
    up lol! Perhaps some 16x16px iconsupport? (png)
    Thanks, IP. It occurred to me in a dream...well not really but I thought simple would be best.

    Could you be more specific as far as the image goes? Maybe I can work it in. I was also thinking about adding a few other sections to the bar separated by a "|". Not sure about that one though. I wonder if they would be useful.

    Leave a comment:


  • Imagine Programming
    replied
    @Centauri, Oeh i'm interested! I wonder what it is :yes

    And a paragraph? That's really clever! I wouldn't have thought that one
    up lol! Perhaps some 16x16px iconsupport? (png)

    Leave a comment:


  • Centauri Soldier
    replied
    Originally posted by RizlaUK View Post
    dude, your on a roll with the plugins, have you thought about expanding a bit and using the PSDK export feature ?? (BASS needs wrapping )

    PSDK export feature? What is that?

    Leave a comment:

Working...
X