Mercurial > projects > mde
changeset 62:960206198cbd
Documentation changes only. (Idea for new gui.content.Items module; unused gl.texture module commented out.)
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Fri, 27 Jun 2008 17:19:46 +0100 |
parents | 7cab2af4ba21 |
children | 66d555da083e |
files | mde/Options.d mde/gl/texture.d mde/gui/content/Items.d mde/gui/widget/TextWidget.d |
diffstat | 4 files changed, 34 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mde/Options.d Wed Jun 25 17:25:48 2008 +0100 +++ b/mde/Options.d Fri Jun 27 17:19:46 2008 +0100 @@ -299,7 +299,7 @@ }+/ /** mixin impl("type symbol[, symbol[...]];[type symbol[...];][...]") * - * E.g. + * Where type is one of bool, int, double, char[]. E.g. * --- * mixin (impl ("bool a, b; int i;")); * --- @@ -316,7 +316,7 @@ * necessary. * * Extending: mixins could also be used for the static this() {...} or even the whole - * class, but doing would rather decrease readability of any implementation. */ + * class, but doing so would rather decrease readability of any implementation. */ template impl(char[] A /+, char[] symb+/) { const char[] impl = A~"\nthis(){\n"~aaDefs!(A)~"}"; // ~"\nstatic this(){\n"~optClassAdd!(symb)~"}"
--- a/mde/gl/texture.d Wed Jun 25 17:25:48 2008 +0100 +++ b/mde/gl/texture.d Fri Jun 27 17:19:46 2008 +0100 @@ -13,6 +13,11 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +/++ +This module is unused and untested. The main reason being using glBindTexture to use multiple +textures isn't working for me. +--- + /** Simple module for loading images. */ module mde.resource.image; @@ -111,3 +116,5 @@ } } +--- ++/ \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mde/gui/content/Items.d Fri Jun 27 17:19:46 2008 +0100 @@ -0,0 +1,21 @@ +/* LICENSE BLOCK +Part of mde: a Modular D game-oriented Engine +Copyright © 2007-2008 Diggory Hardy + +This program is free software: you can redistribute it and/or modify it under the terms +of the GNU General Public License as published by the Free Software Foundation, either +version 2 of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; +without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +/** List of content items, somewhat like options. + * + * Both named and non-named items like options, but each item is a content. + * Separation by types of content or not? + */ +module mde.gui.content.Items;
--- a/mde/gui/widget/TextWidget.d Wed Jun 25 17:25:48 2008 +0100 +++ b/mde/gui/widget/TextWidget.d Fri Jun 27 17:19:46 2008 +0100 @@ -13,7 +13,10 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/** Basic text widget and supporting code for widgets containing text. */ +/** Basic text widget and supporting code for widgets containing text. + * + * All content widgets have one (at least for basic content widgets) Content, from + * mde.gui.content.Items . */ module mde.gui.widget.TextWidget; import mde.gui.widget.Widget;