#include <dali/public-api/object/ref-object.h>
#include <dali-toolkit/public-api/controls/control.h>
-class ContactCardLayoutInfo;
+struct ContactCardLayoutInfo;
/**
* @brief Creates and sets up animations for a contact card
// Create vertices
struct Vertex { Vector2 position; float hue; };
- unsigned int numSides = 20;
+ const unsigned int numSides = 20;
Vertex polyhedraVertexData[numSides];
float angle=0;
float sectorAngle = 2.0f * Math::PI / (float) numSides;
#include <sstream>
#include <limits>
+#include <cctype>
// INTERNAL INCLUDES
#include "shared/view.h"
}
std::istringstream iss(line.substr(2), std::istringstream::in);
- unsigned int indices[ numOfInt ];
+ Dali::Vector<unsigned int> indices;
+ indices.Resize(numOfInt);
unsigned int i=0;
while( iss >> indices[i++] && i < numOfInt);
unsigned int step = (i+1) / 3;
#include <dali/devel-api/adaptor-framework/pixel-buffer.h>
#include <dali-toolkit/dali-toolkit.h>
#include <dali-toolkit/devel-api/text/text-utils-devel.h>
-#include <devel-api/adaptor-framework/image-loading.h>
+#include <dali/devel-api/adaptor-framework/image-loading.h>
using namespace std;
using namespace Dali;
#include <dali-toolkit/dali-toolkit.h>
#include "dali-toolkit/devel-api/controls/web-view/web-view.h"
#include <dali/integration-api/debug.h>
-#include <unistd.h>
using namespace Dali;