X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fscrollable%2Fitem-view%2Fdefault-item-layout.cpp;h=97b42a8494895f3d3ddab893aa79000872983a88;hp=954e958e30f0c5e7b92dc0534fae77d94331483b;hb=1d82abb8a1a514ce0af63004706135fb7883f89b;hpb=c1b7b114b63facaccd835b602cbd13e7869835a9 diff --git a/dali-toolkit/public-api/controls/scrollable/item-view/default-item-layout.cpp b/dali-toolkit/public-api/controls/scrollable/item-view/default-item-layout.cpp index 954e958..97b42a8 100644 --- a/dali-toolkit/public-api/controls/scrollable/item-view/default-item-layout.cpp +++ b/dali-toolkit/public-api/controls/scrollable/item-view/default-item-layout.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,18 +25,15 @@ namespace Dali { - namespace Toolkit { - namespace DefaultItemLayout { - -ItemLayoutPtr New( Type type ) +ItemLayoutPtr New(Type type) { ItemLayoutPtr itemLayout; - switch ( type ) + switch(type) { case DEPTH: { @@ -53,7 +50,7 @@ ItemLayoutPtr New( Type type ) case LIST: { Internal::GridLayoutPtr layout = Internal::GridLayout::New(); - layout->SetNumberOfColumns( 1 ); + layout->SetNumberOfColumns(1); itemLayout = layout; break; }