manual
Next    Back

User data

      You can enhance your skin by adding a video clip, text, images, animation and sound effects (any files with binary data types). Inserting user data can add interest and excitement to your presentation, and help you emphasize the audience.

      SkinBuilder provides an opportunity to add user data for a skin. When you prepare files for inserting, do the following :


1. Use the tool-bar in "User Data" pane to manipulate with User Data settings.

2. Click the Add Folder item at the tool-bar to add a new folder to organize all your user data. Enter the name of the folder in the "Input item name" dialogue appeared and click button or press "Enter" button on a keyboard. There is no limit to the number of folders you can add. Clicking the button will close the dialogue without adding any folder.

3. Use Move down and Move up arrows to move your items in the "User Data" list to one possion up or down.

4. To delete one or more items select the appropriate item(s) and then click the Delete item.

5. Click Insert User Data item at the tool-bar in "User data" pane. Enter the name of the item in the Input item name dialogue and click button or press "Enter" button on a keyboard. The item will appear as branch item in SkinBuilder "User Data" tree. Clicking the button will close the dialogue without adding any item.



      User data inserting is usually started with picking data.
To pick user data:

        Press "Browse" button in a field where "Data Size 0 bytes" presents. A standard "Select file" dialog will appear.

        Go to the directory where your data is located, select it then click OK button.

        Look at the example VC++ code which gives an idea of user data using and write your own code for your application. For all other languages the general technique remains valid.

      extern ISCSkin *pSkin;
      void* lpBuffer;
      LONG uBufferSize;
      pSkin->GetUserDataSize("UserData1", (long)&uBufferSize);
      lpBuffer = malloc(uBufferSize);
      pSkin->GetUserData("UserData1", (long)lpBuffer, uBufferSize);

       

  • There is an opportunity to add user data for a skin clicking right mouse at "User data" item.


  • One click of the right button shows pop-up menu that allows you to rename the item according to your taste (you can do it also by pressing F2) or delete it.


Next    Back