Mercurial > projects > dynamin
comparison dynamin/gui/directory_dialog.d @ 5:4029d5af7542
Add blank lines and rewrap some comments.
author | Jordan Miner <jminer7@gmail.com> |
---|---|
date | Sat, 20 Jun 2009 12:26:40 -0500 |
parents | aa4efef0f0b1 |
children | 836a064828e8 |
comparison
equal
deleted
inserted
replaced
4:fc2420d39e3c | 5:4029d5af7542 |
---|---|
48 } | 48 } |
49 void directory(string str) { | 49 void directory(string str) { |
50 throw new Exception("Sorry, DirectoryDialog.directory(string) not yet working"); | 50 throw new Exception("Sorry, DirectoryDialog.directory(string) not yet working"); |
51 _directory = str; | 51 _directory = str; |
52 } | 52 } |
53 | |
53 DialogResult showDialog() { | 54 DialogResult showDialog() { |
54 BROWSEINFO bi; | 55 BROWSEINFO bi; |
55 //bi.hwndOwner = ; | 56 //bi.hwndOwner = ; |
56 bi.lpszTitle = "Choose a folder:"; | 57 bi.lpszTitle = "Choose a folder:"; |
57 bi.ulFlags |= BIF_RETURNONLYFSDIRS; | 58 bi.ulFlags |= BIF_RETURNONLYFSDIRS; |