Jump to content

*.d.ts not found (CASTORGUI)


Ingo Chou
 Share

Recommended Posts

I could quickly learn I guess, but let's say I'm not motivated to learn a new programming language.

Maybe someday, but not now.

But if you are good with tapuscript, you can contribute to this library GUI. it is open source and you are welcome.

Link to comment
Share on other sites

declare module CASTORGUI{
    class GUIButton  {
        constructor(id: string, options: {}, guimanager : GUIManager, callback : () => void, append?: boolean);
        public addElement(append, element) : void;
        public dispose() : boolean;  // not sure what return type is
        public setVisible(bool : boolean, fade?: boolean) : void;
        public isVisible() : boolean;
    }
    
    class GUICheckbox{}
    
    class GUIColor{}
    
    class DataBase{}
    
    class GUIDialog{}
    
    class GUIFieldset{}
    
    class GUIGroup{}
    
    class GUILabel{}
    
    class GUIManager{}
    
    class GUIMeter{}
    
    class GUIPanel{}
    
    class GUIProgress{}
    
    class GUIRadio{}
    
    class GUISelect{}
    
    class GUISlider{}
    
    class GUISpinner{}
    
    class GUIText{}
    
    class GUITextarea{}
    
    class GUITextfield{}
    
    class GUITexture{}
    
    class GUIWindow{}
    
    // functions from draggableGUI.js
    export function addEventListener(element, eventName, handler) : void;
}

Just start filling this in.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...