Mercurial > projects > mde
comparison mde/gui/widget/AChildWidget.d @ 146:783969f4665c
Simple, inefficient context menus (displaying content description).
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Wed, 11 Feb 2009 12:00:12 +0000 |
parents | 66c58e5b0062 |
children | 17438f17bfb5 |
comparison
equal
deleted
inserted
replaced
145:1048b5c7cab1 | 146:783969f4665c |
---|---|
55 } | 55 } |
56 | 56 |
57 // Don't save any data: fine for many widgets. | 57 // Don't save any data: fine for many widgets. |
58 override bool saveChanges () { | 58 override bool saveChanges () { |
59 return false; | 59 return false; |
60 } | |
61 | |
62 // Widgets with content need to override this | |
63 override IContent content () { | |
64 return null; | |
60 } | 65 } |
61 //END Load and save | 66 //END Load and save |
62 | 67 |
63 //BEGIN Size and position | 68 //BEGIN Size and position |
64 // default to not resizable | 69 // default to not resizable |