summaryrefslogtreecommitdiff
path: root/gtk2_ardour/imageframe_time_axis_group.cc
diff options
context:
space:
mode:
authorKarsten Wiese <fzuuzf@googlemail.com>2005-12-16 22:30:49 +0000
committerKarsten Wiese <fzuuzf@googlemail.com>2005-12-16 22:30:49 +0000
commit170d6b24cec9b7fe51d74b75544a097948e03082 (patch)
tree2dbaf7b89b721aa63f06ec11a4f57b5fdd6b0480 /gtk2_ardour/imageframe_time_axis_group.cc
parentcf37405a71ef9d4f0d0d4e9303a51bfc55d7cd89 (diff)
use stringcr_t and gain 1/1000 binary size reduction. not thaat much...
git-svn-id: svn://localhost/trunk/ardour2@194 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/imageframe_time_axis_group.cc')
-rw-r--r--gtk2_ardour/imageframe_time_axis_group.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/imageframe_time_axis_group.cc b/gtk2_ardour/imageframe_time_axis_group.cc
index 12e488de5e..bdc81bfb8b 100644
--- a/gtk2_ardour/imageframe_time_axis_group.cc
+++ b/gtk2_ardour/imageframe_time_axis_group.cc
@@ -45,7 +45,7 @@ using namespace ARDOUR ;
* @param iftav the parent ImageFrameTimeAxis of this view helper
* @param group_id the unique name/id of this group
*/
-ImageFrameTimeAxisGroup::ImageFrameTimeAxisGroup(ImageFrameTimeAxisView& iftav, std::string group_id)
+ImageFrameTimeAxisGroup::ImageFrameTimeAxisGroup(ImageFrameTimeAxisView& iftav, stringcr_t group_id)
: _view_helper(iftav), _group_id(group_id)
{
selected_imageframe_item = 0 ;
@@ -89,7 +89,7 @@ ImageFrameTimeAxisGroup::~ImageFrameTimeAxisGroup()
* @param src the identity of the object that initiated the change
*/
void
-ImageFrameTimeAxisGroup::set_group_name(std::string new_name, void* src)
+ImageFrameTimeAxisGroup::set_group_name(stringcr_t new_name, void* src)
{
if(_group_id != new_name)
{
@@ -195,7 +195,7 @@ ImageFrameTimeAxisGroup::apply_item_color(Gdk::Color& color)
* @param src the identity of the object that initiated the change
*/
ImageFrameView*
-ImageFrameTimeAxisGroup::add_imageframe_item(std::string frame_id, jack_nframes_t start, jack_nframes_t duration, unsigned char* rgb_data, uint32_t width, uint32_t height, uint32_t num_channels, void* src)
+ImageFrameTimeAxisGroup::add_imageframe_item(stringcr_t frame_id, jack_nframes_t start, jack_nframes_t duration, unsigned char* rgb_data, uint32_t width, uint32_t height, uint32_t num_channels, void* src)
{
ImageFrameView* ifv = 0 ;
@@ -233,7 +233,7 @@ ImageFrameTimeAxisGroup::add_imageframe_item(std::string frame_id, jack_nframes_
* @return the named ImageFrameView, or 0 if it is not held upon this view
*/
ImageFrameView*
-ImageFrameTimeAxisGroup::get_named_imageframe_item(std::string frame_id)
+ImageFrameTimeAxisGroup::get_named_imageframe_item(stringcr_t frame_id)
{
ImageFrameView* ifv = 0 ;
@@ -293,7 +293,7 @@ ImageFrameTimeAxisGroup::remove_selected_imageframe_item(void* src)
* @see add_imageframe_view
*/
ImageFrameView*
-ImageFrameTimeAxisGroup::remove_named_imageframe_item(std::string frame_id, void* src)
+ImageFrameTimeAxisGroup::remove_named_imageframe_item(stringcr_t frame_id, void* src)
{
ImageFrameView* removed = 0 ;