default smart pointer type switched to intrusive_ptr

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@337 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-05-11 21:34:53 +00:00
parent 3b6743b110
commit 33fd2b5e18
103 changed files with 368 additions and 256 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ void DropDownChoiceListBase::generateThumbnailImages() {
ThumbnailStatus status = style().thumbnails_status[i];
if (i >= image_count || status != THUMB_OK) {
// request this thumbnail
thumbnail_thread.request( new_shared3<ChoiceThumbnailRequest>(&cve, i, status == THUMB_NOT_MADE) );
thumbnail_thread.request( new_intrusive3<ChoiceThumbnailRequest>(&cve, i, status == THUMB_NOT_MADE) );
}
}
}
+1 -1
View File
@@ -14,7 +14,7 @@
#include <gui/drop_down_list.hpp>
#include <render/value/choice.hpp>
DECLARE_POINTER_TYPE(DropDownList);
DECLARE_SHARED_POINTER_TYPE(DropDownList);
// ----------------------------------------------------------------------------- : ChoiceValueEditor
+1 -1
View File
@@ -13,7 +13,7 @@
#include <gui/value/editor.hpp>
#include <render/value/color.hpp>
DECLARE_POINTER_TYPE(DropDownList);
DECLARE_SHARED_POINTER_TYPE(DropDownList);
// ----------------------------------------------------------------------------- : ColorValueEditor
+1 -1
View File
@@ -37,7 +37,7 @@ void ImageValueEditor::sliceImage(const Image& image) {
if (mask_image.LoadFile(*image_file)) {
Image resampled(style().width, style().height);
resample(mask_image, resampled);
mask = new_shared1<AlphaMask>(resampled);
mask = new_intrusive1<AlphaMask>(resampled);
}
}
// slice