Monday, May 29, 2006

Reusable Conversation Panel (edited)

I have finished a prototype of reusable conversation panel window in the StepTalkKit framework. This is how it looks:


Features:

  • default context, if not provided any
  • customisable toolbar
  • script history - recall previous scripts either from toolbar or by keyboard
  • language selection


And this is how you will be able to use it in your applications.

STContext *context; /* Assume this exists and is set up */
STConversationPanel *panel;

panel = [[STConversationPanel alloc] init];
[panel setContext:context];
[panel makeKeyAndOrderFront:nil];


STContext *context; /* Assume this exists and is set up */
STConversationWindow *window;

window = [[STConversationWindow alloc] init];
[window setContext:context];
[window makeKeyAndOrderFront:nil];

If you do not set the panel's window's context, default one is used - local to the panel window.

What do you think?

3 Comments:

At 5:24 PM, Anonymous Anonymous said...

Are the icons you use GPL?

 
At 12:22 AM, Blogger Stefan Urbanek said...

Most of the icons are from Cyberduck, which is GPLed application, so I suppose that their use is compatible with GPL. The 'play' icon is from an Apple application to maintain visual consistency and at this moment serves as a 'placeholder' for a future freely-distribuable icon, in the case that the current icon is not.

If I will have to replace them all, I will.

Why are you asking, anyway?

 
At 7:12 AM, Anonymous Anonymous said...

все для раскрутки и список для allsubmitter

 

Post a Comment

<< Home