Category:Skinning 3.0

From TrillWiki

Jump to: navigation, search

This category collects pages that have updates to the skinning language in Trillian 3.x.

Back to 2.0 | Forward to 4.0

Contents

[edit] Skinning Additions for Trillian 3.1

  • "notinlist" icon type for the contact list. The icon used for orphaned contacts that aren't associated with any connection for that medium.

[edit] Skinning Additions for Trillian 3.0

[edit] Required Updates

  • In order for a user to be able to use the webcam/voice features in a skin, the skin is required to update. The simplest way is to use Panels, but theoretically frames using the system variables for the "visible" attribute should work. The old method of using the template window doesn't work anymore. The point is, that at the minimum, you have to update for webcam handling or your old skin will be "broken". A guide to updating your skin to support the new mode will be at AV Controls in 3.0 when someone writes it :D

[edit] Notes from Kid / Kevin

  • New controls for Message Window for Audio and Video
  • Icons
  • IconHolder [can now be] a drop down list rather than scrolling bar
    • KWK old format still allowed, just allowed to be a menubar as well to allow for drop down, etc
  • Be able to put user's own user name and buddy icon on contact list
  • We also introduce the concept of skinning by Panels on top of skinning by Windows. So, there are PrivMsg, Contact List, Status, Conference, Container windows. And there are My Contacts, Text Conv, Text Editor, Audio, Video Panels. (should be optional)
  • Skin math [ + - * / < > = ! & | != <= >= () ]
    • 'KWK: No order of operations support, so use parens when needed
  • System variables for skins [%trillian.pro%]
    • Stranger Mode - stranger Mode is a privmsg window for users that is not on your contact list
    • [use System Variable %message.contact% to make stranger frames visible and hide contact frames -Tom]
  • [non-proportional] Stretch Support (i.e. Controls.xml(9))
    • (We should be able to simulate proportional stretching using skin math and the size system variables if the image is stretched relative to a panel size... but not if it's anchor related. -Tom)
  • PNG support for everything (although alpha support is limited in specific areas - i.e. background)

[edit] Misc

  • Channel window buttons: toolbar-audio
  • Message window toolbar buttons: toolbar-video, toolbar-audio, toolbar-stranger-info.
  • Webcam stuff was moved to the contact list / message window.
    • the TemplateMenubar control is no longer necessary since there are no template windows that use it. However, it should still be included so that plugins might be able to use it.
  • taskbar_basic and container_taskbar_basic in <window>s for icons to show if Trillian is in basic mode.
  • desiredy (and desiredx?) attribute in components (Panel-Video.xml, line 378) (not in the reference yet and it's not in 2.0's stixe. is it new?)
  • Mouse-over ScrollBars work (DREAD's happy)
  • "half-ops" in the nicklist
  • new status switcher for the file transfer windows..
    • name="status_image"
    • states include: pending, complete, error, transferring
  • irctoolbar-* buttons no longer work in the IRC console windows with the IRC rewrite.
  • "icon-base": Addition of new icon type when defining the new large, medium, small, and tiny icons. New type is "icon-base" and it means we can FINALLY have the extra icon states as overlays. Usage is: <icon name="META/AIM/MSN/ETC" type="icon-base">.. This icon base is used when using Picture mode and is currently used when a contact doesn't have a buddy icon. Away/Idle etc are then just overlayed onto this base icon (or buddy icon if they're using one). We'll hopefully soon have the option to not see buddy icons and just use the larger icons as well. Also pushing for the ability to define the different status/modes (away etc) for "ALL" instead of needing to do "AIM" "MSN" etc like we do at the moment. This little addition just reduced the amount of icon work Trilly3 had seemingly introduced. If we also get the ability to dump the old style icons and let trilly choose a set to use, then it will then cut the number of icons needed by a huge amount. This is real Skinning Love!
  • new button actions available for panels:
    <action name="setwindowphase" value="[phase]"/>
    used when pressing a phase button from inside of a panel to set the window phase
    <action name="setVisible" value="0"/>
    Set the pnel visible
    <action name="close" value="yes"/>
    (not implemented yet)
    <action name="toggleMaximize" value="yes"/>
    maximize the panel
  • new setting attributes available:

[edit] Tips and Tricks

[edit] Miscellaneous Questions

  • is there any point to having the templateMenubar control anymore, since there's no longer a webcam window? (i.e. is there anything that uses that control now?)
    • Not currently, but skins should still support it for plugins / future versions
  • What exactly is desiredy? (what's the difference between that and setting min/maxy to a desired value?)
  • What other new features have we missed?
  • What new icons/switchers/controls need to be added to the reference?
  • Along with 'stretch' do we have (2D) 'tile'? Can we stretch in 1 direction and tile in another?
    • no
  • Is there a SkinDelete function in the plugin API yet?
    • no

[edit] Related Reading


Image:catalert.png Please put [[Category:Skinning 3.0]] in your article to include it in this category


Subcategories

There is one subcategory to this category.

S

Personal tools