Mercurial > projects > doodle
diff doodle/tk/palette.d @ 51:0eaf39fda206
First cut at palette class
author | daveb |
---|---|
date | Wed, 04 Aug 2010 16:36:32 +0930 |
parents | |
children | 30ecedfe2ce2 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doodle/tk/palette.d Wed Aug 04 16:36:32 2010 +0930 @@ -0,0 +1,7 @@ +module doodle.tk.palette; + +interface IPalette { + int add(in string iconPath, in string tooltipText, void delegate(int) dg); + void remove(in int id); + void activate(in int id); +}