Discussion:
[Clanlib-devel] [PATCH] CL_FileDialog
Trigve Siver
2006-05-03 08:10:35 UTC
Permalink
I have modified CL_FileDialog for my needs.

I have added some attributes (type), remove CL_FileDialog::open, close operations...
All dialogs must be constructed from constructor where you specify dialog type (open, save, owner)..
Dialog quits only if any file was selected or when cancel was pressed.
get_pressed_button attribute returns which button was pressed before dialog has quit (ok, cancel).

Trigve


---------------------------------
Yahoo! Mail goes everywhere you do. Get it on your phone.
Trigve Siver
2006-05-03 10:54:11 UTC
Permalink
New operation added :
- setting the behaviour of CL_FileDialog::set_behaviour
- get last button pressed CL_FileDialog::get_pressed_button


Trigve


---------------------------------
Yahoo! Mail goes everywhere you do. Get it on your phone.
Trigve Siver
2006-05-03 10:58:06 UTC
Permalink
Patch added:)

Note: forwarded message attached.

---------------------------------
Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice.
Seth A. Robinson
2006-05-04 09:19:56 UTC
Permalink
I’ve applied this to 0.8, thanks! One small change was renaming behaviour
to behavior, seemed to fit better with the rest of the naming scheme. (ie,
CL_Color instead of CL_Colour)



Thanks,



-Seth (mrfun)



-----Original Message-----
From: Trigve Siver [mailto:***@yahoo.com]
Sent: Wednesday, May 03, 2006 7:58 PM
To: clanlib-***@lists.sourceforge.net
Subject: [Clanlib-devel] Fwd: [PATCH] CL_FileDialog



Patch added:)

Note: forwarded message attached.

_____

Love cheap thrills? Enjoy PC-to-Phone calls
<http://us.rd.yahoo.com/mail_us/taglines/postman9/*http:/us.rd.yahoo.com/evt
=39666/*http:/messenger.yahoo.com/> to 30+ countries for just 2¢/min with
Yahoo! Messenger with Voice.

Loading...