Add icons
|
@ -1 +1,2 @@
|
||||||
moc_*
|
moc_*
|
||||||
|
.DS_Store
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
convert thirdparty/capicon/png/white/059.png -fuzz 90% -fill 'rgb(252,102,33)' -opaque 'rgb(255,255,255)' resources/add.png
|
||||||
|
convert thirdparty/capicon/png/white/262.png -fuzz 90% -fill 'rgb(252,102,33)' -opaque 'rgb(255,255,255)' resources/select.png
|
||||||
|
convert thirdparty/capicon/png/white/078.png -fuzz 90% -fill 'rgb(252,102,33)' -opaque 'rgb(255,255,255)' resources/picture.png
|
|
@ -1,5 +1,6 @@
|
||||||
QT += core widgets opengl
|
QT += core widgets opengl
|
||||||
CONFIG += debug
|
CONFIG += debug
|
||||||
|
RESOURCES += resources.qrc
|
||||||
|
|
||||||
INCLUDEPATH += src
|
INCLUDEPATH += src
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
<!DOCTYPE RCC><RCC version="1.0">
|
||||||
|
<qresource>
|
||||||
|
<file>resources/add.png</file>
|
||||||
|
<file>resources/select.png</file>
|
||||||
|
<file>resources/picture.png</file>
|
||||||
|
</qresource>
|
||||||
|
</RCC>
|
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
10
src/main.cpp
|
@ -29,14 +29,8 @@ int main(int argc, char ** argv)
|
||||||
qApp->setStyleSheet("QToolTip { color: #ffffff; background-color: #2a82da; border: 1px solid white; }");
|
qApp->setStyleSheet("QToolTip { color: #ffffff; background-color: #2a82da; border: 1px solid white; }");
|
||||||
|
|
||||||
QCoreApplication::setApplicationName("Dust 3D");
|
QCoreApplication::setApplicationName("Dust 3D");
|
||||||
|
|
||||||
MainWindow mainWindow;
|
MainWindow mainWindow;
|
||||||
mainWindow.resize(mainWindow.sizeHint());
|
mainWindow.showMaximized();
|
||||||
int desktopArea = QApplication::desktop()->width() *
|
|
||||||
QApplication::desktop()->height();
|
|
||||||
int widgetArea = mainWindow.width() * mainWindow.height();
|
|
||||||
if (((float)widgetArea / (float)desktopArea) < 0.75f)
|
|
||||||
mainWindow.show();
|
|
||||||
else
|
|
||||||
mainWindow.showMaximized();
|
|
||||||
return app.exec();
|
return app.exec();
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,53 +17,58 @@ MainWindow::MainWindow() :
|
||||||
m_skeletonDirty(false),
|
m_skeletonDirty(false),
|
||||||
m_turnaroundLoader(NULL),
|
m_turnaroundLoader(NULL),
|
||||||
m_turnaroundDirty(false)
|
m_turnaroundDirty(false)
|
||||||
//m_turnaroundFilename("../assets/male_werewolf_turnaround_lineart_by_jennette_brown.png")
|
|
||||||
{
|
{
|
||||||
QPushButton *skeletonButton = new QPushButton("Skeleton");
|
//QPushButton *skeletonButton = new QPushButton("Skeleton");
|
||||||
QPushButton *motionButton = new QPushButton("Motion");
|
//QPushButton *motionButton = new QPushButton("Motion");
|
||||||
QPushButton *modelButton = new QPushButton("Model");
|
//QPushButton *modelButton = new QPushButton("Model");
|
||||||
|
|
||||||
QButtonGroup *pageButtonGroup = new QButtonGroup;
|
//QButtonGroup *pageButtonGroup = new QButtonGroup;
|
||||||
pageButtonGroup->addButton(skeletonButton);
|
//pageButtonGroup->addButton(skeletonButton);
|
||||||
pageButtonGroup->addButton(motionButton);
|
//pageButtonGroup->addButton(motionButton);
|
||||||
pageButtonGroup->addButton(modelButton);
|
//pageButtonGroup->addButton(modelButton);
|
||||||
|
|
||||||
skeletonButton->setCheckable(true);
|
//skeletonButton->setCheckable(true);
|
||||||
motionButton->setCheckable(true);
|
//motionButton->setCheckable(true);
|
||||||
modelButton->setCheckable(true);
|
//modelButton->setCheckable(true);
|
||||||
|
|
||||||
pageButtonGroup->setExclusive(true);
|
//pageButtonGroup->setExclusive(true);
|
||||||
|
|
||||||
skeletonButton->setChecked(true);
|
//skeletonButton->setChecked(true);
|
||||||
|
|
||||||
QHBoxLayout *topLayout = new QHBoxLayout;
|
QHBoxLayout *topLayout = new QHBoxLayout;
|
||||||
topLayout->addStretch();
|
topLayout->addStretch();
|
||||||
topLayout->addWidget(skeletonButton);
|
//topLayout->addWidget(skeletonButton);
|
||||||
topLayout->addWidget(motionButton);
|
//topLayout->addWidget(motionButton);
|
||||||
topLayout->addWidget(modelButton);
|
//topLayout->addWidget(modelButton);
|
||||||
topLayout->addStretch();
|
topLayout->addStretch();
|
||||||
|
|
||||||
skeletonButton->adjustSize();
|
//skeletonButton->adjustSize();
|
||||||
motionButton->adjustSize();
|
//motionButton->adjustSize();
|
||||||
modelButton->adjustSize();
|
//modelButton->adjustSize();
|
||||||
|
|
||||||
m_skeletonEditWidget = new SkeletonEditWidget;
|
m_skeletonEditWidget = new SkeletonEditWidget;
|
||||||
|
|
||||||
m_modelingWidget = new ModelingWidget;
|
m_modelingWidget = new ModelingWidget(this);
|
||||||
m_modelingWidget->setFixedSize(128, 128);
|
m_modelingWidget->setMinimumSize(128, 128);
|
||||||
|
m_modelingWidget->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
|
||||||
|
m_modelingWidget->setWindowFlags(Qt::Tool | Qt::Window);
|
||||||
|
m_modelingWidget->setWindowTitle("3D Model");
|
||||||
|
|
||||||
QPushButton *changeTurnaroundButton = new QPushButton("Change turnaround..");
|
QPushButton *changeTurnaroundButton = new QPushButton("");
|
||||||
|
changeTurnaroundButton->setIcon(QIcon(":/resources/picture.png"));
|
||||||
|
|
||||||
QVBoxLayout *rightLayout = new QVBoxLayout;
|
QVBoxLayout *rightLayout = new QVBoxLayout;
|
||||||
rightLayout->addWidget(m_modelingWidget);
|
|
||||||
rightLayout->addSpacing(10);
|
rightLayout->addSpacing(10);
|
||||||
rightLayout->addWidget(changeTurnaroundButton);
|
rightLayout->addWidget(changeTurnaroundButton);
|
||||||
rightLayout->addStretch();
|
rightLayout->addStretch();
|
||||||
|
|
||||||
QToolBar *toolbar = new QToolBar;
|
QToolBar *toolbar = new QToolBar;
|
||||||
|
toolbar->setIconSize(QSize(16, 16));
|
||||||
toolbar->setOrientation(Qt::Vertical);
|
toolbar->setOrientation(Qt::Vertical);
|
||||||
QAction *addAction = new QAction(tr("Add"), this);
|
QAction *addAction = new QAction(tr("Add"), this);
|
||||||
|
addAction->setIcon(QIcon(":/resources/add.png"));
|
||||||
QAction *selectAction = new QAction(tr("Select"), this);
|
QAction *selectAction = new QAction(tr("Select"), this);
|
||||||
|
selectAction->setIcon(QIcon(":/resources/select.png"));
|
||||||
toolbar->addAction(addAction);
|
toolbar->addAction(addAction);
|
||||||
toolbar->addAction(selectAction);
|
toolbar->addAction(selectAction);
|
||||||
|
|
||||||
|
@ -107,7 +112,17 @@ MainWindow::MainWindow() :
|
||||||
|
|
||||||
void MainWindow::meshReady()
|
void MainWindow::meshReady()
|
||||||
{
|
{
|
||||||
m_modelingWidget->updateMesh(m_skeletonToMesh->takeResultMesh());
|
Mesh *resultMesh = m_skeletonToMesh->takeResultMesh();
|
||||||
|
if (resultMesh) {
|
||||||
|
if (!m_modelingWidget->isVisible()) {
|
||||||
|
QRect referenceRect = m_skeletonEditWidget->geometry();
|
||||||
|
QPoint pos = QPoint(referenceRect.right() - m_modelingWidget->width(),
|
||||||
|
referenceRect.bottom() - m_modelingWidget->height());
|
||||||
|
m_modelingWidget->move(pos.x(), pos.y());
|
||||||
|
m_modelingWidget->show();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
m_modelingWidget->updateMesh(resultMesh);
|
||||||
delete m_skeletonToMesh;
|
delete m_skeletonToMesh;
|
||||||
m_skeletonToMesh = NULL;
|
m_skeletonToMesh = NULL;
|
||||||
if (m_skeletonDirty) {
|
if (m_skeletonDirty) {
|
||||||
|
@ -160,8 +175,9 @@ void MainWindow::turnaroundChanged()
|
||||||
void MainWindow::turnaroundImageReady()
|
void MainWindow::turnaroundImageReady()
|
||||||
{
|
{
|
||||||
QImage *backgroundImage = m_turnaroundLoader->takeResultImage();
|
QImage *backgroundImage = m_turnaroundLoader->takeResultImage();
|
||||||
if (backgroundImage && backgroundImage->width() > 0 && backgroundImage->height() > 0)
|
if (backgroundImage && backgroundImage->width() > 0 && backgroundImage->height() > 0) {
|
||||||
m_skeletonEditWidget->graphicsView()->updateBackgroundImage(*backgroundImage);
|
m_skeletonEditWidget->graphicsView()->updateBackgroundImage(*backgroundImage);
|
||||||
|
}
|
||||||
delete backgroundImage;
|
delete backgroundImage;
|
||||||
delete m_turnaroundLoader;
|
delete m_turnaroundLoader;
|
||||||
m_turnaroundLoader = NULL;
|
m_turnaroundLoader = NULL;
|
||||||
|
|
|
@ -34,16 +34,6 @@ ModelingWidget::~ModelingWidget()
|
||||||
delete m_mesh;
|
delete m_mesh;
|
||||||
}
|
}
|
||||||
|
|
||||||
QSize ModelingWidget::minimumSizeHint() const
|
|
||||||
{
|
|
||||||
return QSize(50, 50);
|
|
||||||
}
|
|
||||||
|
|
||||||
QSize ModelingWidget::sizeHint() const
|
|
||||||
{
|
|
||||||
return QSize(400, 400);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void qNormalizeAngle(int &angle)
|
static void qNormalizeAngle(int &angle)
|
||||||
{
|
{
|
||||||
while (angle < 0)
|
while (angle < 0)
|
||||||
|
|
|
@ -21,9 +21,6 @@ public:
|
||||||
|
|
||||||
static bool isTransparent() { return m_transparent; }
|
static bool isTransparent() { return m_transparent; }
|
||||||
static void setTransparent(bool t) { m_transparent = t; }
|
static void setTransparent(bool t) { m_transparent = t; }
|
||||||
|
|
||||||
QSize minimumSizeHint() const override;
|
|
||||||
QSize sizeHint() const override;
|
|
||||||
|
|
||||||
void updateMesh(Mesh *mesh);
|
void updateMesh(Mesh *mesh);
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
#include <QGraphicsPixmapItem>
|
#include <QGraphicsPixmapItem>
|
||||||
|
#include <cmath>
|
||||||
#include "skeletoneditgraphicsview.h"
|
#include "skeletoneditgraphicsview.h"
|
||||||
#include "skeletoneditnodeitem.h"
|
#include "skeletoneditnodeitem.h"
|
||||||
#include "skeletoneditedgeitem.h"
|
#include "skeletoneditedgeitem.h"
|
||||||
|
|
||||||
qreal SkeletonEditGraphicsView::m_initialNodeSize = 128;
|
qreal SkeletonEditGraphicsView::m_initialNodeSize = 128;
|
||||||
qreal SkeletonEditGraphicsView::m_minimalNodeSize = 32;
|
qreal SkeletonEditGraphicsView::m_minimalNodeSize = 8;
|
||||||
|
|
||||||
SkeletonEditGraphicsView::SkeletonEditGraphicsView(QWidget *parent) :
|
SkeletonEditGraphicsView::SkeletonEditGraphicsView(QWidget *parent) :
|
||||||
QGraphicsView(parent),
|
QGraphicsView(parent),
|
||||||
|
@ -20,6 +21,7 @@ SkeletonEditGraphicsView::SkeletonEditGraphicsView(QWidget *parent) :
|
||||||
setScene(new QGraphicsScene());
|
setScene(new QGraphicsScene());
|
||||||
|
|
||||||
m_backgroundItem = new QGraphicsPixmapItem();
|
m_backgroundItem = new QGraphicsPixmapItem();
|
||||||
|
m_backgroundItem->setOpacity(0.25);
|
||||||
scene()->addItem(m_backgroundItem);
|
scene()->addItem(m_backgroundItem);
|
||||||
|
|
||||||
m_pendingNodeItem = new QGraphicsEllipseItem(0, 0, m_initialNodeSize, m_initialNodeSize);
|
m_pendingNodeItem = new QGraphicsEllipseItem(0, 0, m_initialNodeSize, m_initialNodeSize);
|
||||||
|
@ -257,7 +259,9 @@ void SkeletonEditGraphicsView::wheelEvent(QWheelEvent *event)
|
||||||
QWidget::wheelEvent(event);
|
QWidget::wheelEvent(event);
|
||||||
if (!m_backgroundLoaded)
|
if (!m_backgroundLoaded)
|
||||||
return;
|
return;
|
||||||
qreal delta = event->delta();
|
qreal delta = event->delta() / 10;
|
||||||
|
if (fabs(delta) < 1)
|
||||||
|
delta = delta < 0 ? -1.0 : 1.0;
|
||||||
AddItemRadius(m_pendingNodeItem, delta);
|
AddItemRadius(m_pendingNodeItem, delta);
|
||||||
if (!m_inAddNodeMode && m_lastHoverNodeItem) {
|
if (!m_inAddNodeMode && m_lastHoverNodeItem) {
|
||||||
if (canAddItemRadius(m_lastHoverNodeItem, delta) &&
|
if (canAddItemRadius(m_lastHoverNodeItem, delta) &&
|
||||||
|
|
|
@ -30,7 +30,6 @@ SkeletonEditGraphicsView *SkeletonEditWidget::graphicsView()
|
||||||
void SkeletonEditWidget::resizeEvent(QResizeEvent *event)
|
void SkeletonEditWidget::resizeEvent(QResizeEvent *event)
|
||||||
{
|
{
|
||||||
QFrame::resizeEvent(event);
|
QFrame::resizeEvent(event);
|
||||||
//m_graphicsView->fitInView(QRectF(0, 0, m_graphicsView->scene()->width(), m_graphicsView->scene()->height()), Qt::KeepAspectRatio);
|
|
||||||
emit sizeChanged();
|
emit sizeChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,150 @@
|
||||||
|
body {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: 1em;
|
||||||
|
line-height: 1.5;
|
||||||
|
color: #555;
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-size: 1.5em;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
small {
|
||||||
|
font-size: .66666667em;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: #e74c3c;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
a:hover, a:focus {
|
||||||
|
box-shadow: 0 1px #e74c3c;
|
||||||
|
}
|
||||||
|
.bshadow0, input {
|
||||||
|
box-shadow: inset 0 -2px #e7e7e7;
|
||||||
|
}
|
||||||
|
input:hover {
|
||||||
|
box-shadow: inset 0 -2px #ccc;
|
||||||
|
}
|
||||||
|
input, fieldset {
|
||||||
|
font-size: 1em;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
input {
|
||||||
|
color: inherit;
|
||||||
|
line-height: 1.5;
|
||||||
|
height: 1.5em;
|
||||||
|
padding: .25em 0;
|
||||||
|
}
|
||||||
|
input:focus {
|
||||||
|
outline: none;
|
||||||
|
box-shadow: inset 0 -2px #449fdb;
|
||||||
|
}
|
||||||
|
.glyph {
|
||||||
|
font-size: 16px;
|
||||||
|
width: 15em;
|
||||||
|
padding-bottom: 1em;
|
||||||
|
margin-right: 4em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
float: left;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.liga {
|
||||||
|
width: 80%;
|
||||||
|
width: calc(100% - 2.5em);
|
||||||
|
}
|
||||||
|
.talign-right {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.talign-center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.bgc1 {
|
||||||
|
background: #f1f1f1;
|
||||||
|
}
|
||||||
|
.fgc1 {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
.fgc0 {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
margin-top: 1em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
.mvm {
|
||||||
|
margin-top: .75em;
|
||||||
|
margin-bottom: .75em;
|
||||||
|
}
|
||||||
|
.mtn {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
.mtl, .mal {
|
||||||
|
margin-top: 1.5em;
|
||||||
|
}
|
||||||
|
.mbl, .mal {
|
||||||
|
margin-bottom: 1.5em;
|
||||||
|
}
|
||||||
|
.mal, .mhl {
|
||||||
|
margin-left: 1.5em;
|
||||||
|
margin-right: 1.5em;
|
||||||
|
}
|
||||||
|
.mhmm {
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
.mls {
|
||||||
|
margin-left: .25em;
|
||||||
|
}
|
||||||
|
.ptl {
|
||||||
|
padding-top: 1.5em;
|
||||||
|
}
|
||||||
|
.pbs, .pvs {
|
||||||
|
padding-bottom: .25em;
|
||||||
|
}
|
||||||
|
.pvs, .pts {
|
||||||
|
padding-top: .25em;
|
||||||
|
}
|
||||||
|
.unit {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.unitRight {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
.size1of2 {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
.size1of1 {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.clearfix:before, .clearfix:after {
|
||||||
|
content: " ";
|
||||||
|
display: table;
|
||||||
|
}
|
||||||
|
.clearfix:after {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
.hidden-true {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.textbox0 {
|
||||||
|
width: 3em;
|
||||||
|
background: #f1f1f1;
|
||||||
|
padding: .25em .5em;
|
||||||
|
line-height: 1.5;
|
||||||
|
height: 1.5em;
|
||||||
|
}
|
||||||
|
#testDrive {
|
||||||
|
display: block;
|
||||||
|
padding-top: 24px;
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
.fs0 {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
.fs1 {
|
||||||
|
font-size: 32px;
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
if (!('boxShadow' in document.body.style)) {
|
||||||
|
document.body.setAttribute('class', 'noBoxShadow');
|
||||||
|
}
|
||||||
|
|
||||||
|
document.body.addEventListener("click", function(e) {
|
||||||
|
var target = e.target;
|
||||||
|
if (target.tagName === "INPUT" &&
|
||||||
|
target.getAttribute('class').indexOf('liga') === -1) {
|
||||||
|
target.select();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
var fontSize = document.getElementById('fontSize'),
|
||||||
|
testDrive = document.getElementById('testDrive'),
|
||||||
|
testText = document.getElementById('testText');
|
||||||
|
function updateTest() {
|
||||||
|
testDrive.innerHTML = testText.value || String.fromCharCode(160);
|
||||||
|
if (window.icomoonLiga) {
|
||||||
|
window.icomoonLiga(testDrive);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function updateSize() {
|
||||||
|
testDrive.style.fontSize = fontSize.value + 'px';
|
||||||
|
}
|
||||||
|
fontSize.addEventListener('change', updateSize, false);
|
||||||
|
testText.addEventListener('input', updateTest, false);
|
||||||
|
testText.addEventListener('change', updateTest, false);
|
||||||
|
updateSize();
|
||||||
|
}());
|
After Width: | Height: | Size: 372 KiB |
|
@ -0,0 +1,406 @@
|
||||||
|
/* To avoid CSS expressions while still supporting IE 7 and IE 6, use this script */
|
||||||
|
/* The script tag referencing this file must be placed before the ending body tag. */
|
||||||
|
|
||||||
|
/* Use conditional comments in order to target IE 7 and older:
|
||||||
|
<!--[if lt IE 8]><!-->
|
||||||
|
<script src="ie7/ie7.js"></script>
|
||||||
|
<!--<![endif]-->
|
||||||
|
*/
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
function addIcon(el, entity) {
|
||||||
|
var html = el.innerHTML;
|
||||||
|
el.innerHTML = '<span style="font-family: \'captainicon\'">' + entity + '</span>' + html;
|
||||||
|
}
|
||||||
|
var icons = {
|
||||||
|
'icon-001': '',
|
||||||
|
'icon-002': '',
|
||||||
|
'icon-003': '',
|
||||||
|
'icon-004': '',
|
||||||
|
'icon-005': '',
|
||||||
|
'icon-006': '',
|
||||||
|
'icon-007': '',
|
||||||
|
'icon-008': '',
|
||||||
|
'icon-009': '',
|
||||||
|
'icon-010': '',
|
||||||
|
'icon-011': '',
|
||||||
|
'icon-012': '',
|
||||||
|
'icon-013': '',
|
||||||
|
'icon-014': '',
|
||||||
|
'icon-015': '',
|
||||||
|
'icon-016': '',
|
||||||
|
'icon-017': '',
|
||||||
|
'icon-018': '',
|
||||||
|
'icon-019': '',
|
||||||
|
'icon-020': '',
|
||||||
|
'icon-021': '',
|
||||||
|
'icon-022': '',
|
||||||
|
'icon-023': '',
|
||||||
|
'icon-024': '',
|
||||||
|
'icon-025': '',
|
||||||
|
'icon-026': '',
|
||||||
|
'icon-027': '',
|
||||||
|
'icon-028': '',
|
||||||
|
'icon-029': '',
|
||||||
|
'icon-030': '',
|
||||||
|
'icon-031': '',
|
||||||
|
'icon-032': '',
|
||||||
|
'icon-033': '',
|
||||||
|
'icon-034': '',
|
||||||
|
'icon-035': '',
|
||||||
|
'icon-036': '',
|
||||||
|
'icon-037': '',
|
||||||
|
'icon-038': '',
|
||||||
|
'icon-039': '',
|
||||||
|
'icon-040': '',
|
||||||
|
'icon-041': '',
|
||||||
|
'icon-042': '',
|
||||||
|
'icon-043': '',
|
||||||
|
'icon-044': '',
|
||||||
|
'icon-045': '',
|
||||||
|
'icon-046': '',
|
||||||
|
'icon-047': '',
|
||||||
|
'icon-048': '',
|
||||||
|
'icon-049': '',
|
||||||
|
'icon-050': '',
|
||||||
|
'icon-051': '',
|
||||||
|
'icon-052': '',
|
||||||
|
'icon-053': '',
|
||||||
|
'icon-054': '',
|
||||||
|
'icon-055': '',
|
||||||
|
'icon-056': '',
|
||||||
|
'icon-057': '',
|
||||||
|
'icon-058': '',
|
||||||
|
'icon-059': '',
|
||||||
|
'icon-060': '',
|
||||||
|
'icon-061': '',
|
||||||
|
'icon-062': '',
|
||||||
|
'icon-063': '',
|
||||||
|
'icon-064': '',
|
||||||
|
'icon-065': '',
|
||||||
|
'icon-066': '',
|
||||||
|
'icon-067': '',
|
||||||
|
'icon-068': '',
|
||||||
|
'icon-069': '',
|
||||||
|
'icon-070': '',
|
||||||
|
'icon-071': '',
|
||||||
|
'icon-072': '',
|
||||||
|
'icon-073': '',
|
||||||
|
'icon-074': '',
|
||||||
|
'icon-075': '',
|
||||||
|
'icon-076': '',
|
||||||
|
'icon-077': '',
|
||||||
|
'icon-078': '',
|
||||||
|
'icon-079': '',
|
||||||
|
'icon-080': '',
|
||||||
|
'icon-081': '',
|
||||||
|
'icon-082': '',
|
||||||
|
'icon-083': '',
|
||||||
|
'icon-084': '',
|
||||||
|
'icon-085': '',
|
||||||
|
'icon-086': '',
|
||||||
|
'icon-087': '',
|
||||||
|
'icon-088': '',
|
||||||
|
'icon-089': '',
|
||||||
|
'icon-090': '',
|
||||||
|
'icon-091': '',
|
||||||
|
'icon-092': '',
|
||||||
|
'icon-093': '',
|
||||||
|
'icon-094': '',
|
||||||
|
'icon-095': '',
|
||||||
|
'icon-096': '',
|
||||||
|
'icon-097': '',
|
||||||
|
'icon-98': '',
|
||||||
|
'icon-099': '',
|
||||||
|
'icon-100': '',
|
||||||
|
'icon-101': '',
|
||||||
|
'icon-102': '',
|
||||||
|
'icon-103': '',
|
||||||
|
'icon-104': '',
|
||||||
|
'icon-105': '',
|
||||||
|
'icon-106': '',
|
||||||
|
'icon-107': '',
|
||||||
|
'icon-108': '',
|
||||||
|
'icon-109': '',
|
||||||
|
'icon-110': '',
|
||||||
|
'icon-111': '',
|
||||||
|
'icon-112': '',
|
||||||
|
'icon-113': '',
|
||||||
|
'icon-114': '',
|
||||||
|
'icon-115': '',
|
||||||
|
'icon-116': '',
|
||||||
|
'icon-117': '',
|
||||||
|
'icon-118': '',
|
||||||
|
'icon-119': '',
|
||||||
|
'icon-120': '',
|
||||||
|
'icon-121': '',
|
||||||
|
'icon-122': '',
|
||||||
|
'icon-123': '',
|
||||||
|
'icon-124': '',
|
||||||
|
'icon-125': '',
|
||||||
|
'icon-126': '',
|
||||||
|
'icon-127': '',
|
||||||
|
'icon-128': '',
|
||||||
|
'icon-129': '',
|
||||||
|
'icon-130': '',
|
||||||
|
'icon-131': '',
|
||||||
|
'icon-132': '',
|
||||||
|
'icon-133': '',
|
||||||
|
'icon-134': '',
|
||||||
|
'icon-135': '',
|
||||||
|
'icon-136': '',
|
||||||
|
'icon-137': '',
|
||||||
|
'icon-138': '',
|
||||||
|
'icon-139': '',
|
||||||
|
'icon-140': '',
|
||||||
|
'icon-141': '',
|
||||||
|
'icon-142': '',
|
||||||
|
'icon-143': '',
|
||||||
|
'icon-144': '',
|
||||||
|
'icon-145': '',
|
||||||
|
'icon-146': '',
|
||||||
|
'icon-147': '',
|
||||||
|
'icon-148': '',
|
||||||
|
'icon-149': '',
|
||||||
|
'icon-150': '',
|
||||||
|
'icon-151': '',
|
||||||
|
'icon-152': '',
|
||||||
|
'icon-153': '',
|
||||||
|
'icon-154': '',
|
||||||
|
'icon-155': '',
|
||||||
|
'icon-156': '',
|
||||||
|
'icon-157': '',
|
||||||
|
'icon-158': '',
|
||||||
|
'icon-159': '',
|
||||||
|
'icon-160': '',
|
||||||
|
'icon-161': '',
|
||||||
|
'icon-162': '',
|
||||||
|
'icon-163': '',
|
||||||
|
'icon-164': '',
|
||||||
|
'icon-165': '',
|
||||||
|
'icon-166': '',
|
||||||
|
'icon-167': '',
|
||||||
|
'icon-168': '',
|
||||||
|
'icon-169': '',
|
||||||
|
'icon-170': '',
|
||||||
|
'icon-171': '',
|
||||||
|
'icon-172': '',
|
||||||
|
'icon-173': '',
|
||||||
|
'icon-174': '',
|
||||||
|
'icon-175': '',
|
||||||
|
'icon-176': '',
|
||||||
|
'icon-177': '',
|
||||||
|
'icon-178': '',
|
||||||
|
'icon-179': '',
|
||||||
|
'icon-180': '',
|
||||||
|
'icon-181': '',
|
||||||
|
'icon-182': '',
|
||||||
|
'icon-183': '',
|
||||||
|
'icon-184': '',
|
||||||
|
'icon-185': '',
|
||||||
|
'icon-186': '',
|
||||||
|
'icon-187': '',
|
||||||
|
'icon-188': '',
|
||||||
|
'icon-189': '',
|
||||||
|
'icon-190': '',
|
||||||
|
'icon-191': '',
|
||||||
|
'icon-192': '',
|
||||||
|
'icon-193': '',
|
||||||
|
'icon-194': '',
|
||||||
|
'icon-195': '',
|
||||||
|
'icon-196': '',
|
||||||
|
'icon-197': '',
|
||||||
|
'icon-198': '',
|
||||||
|
'icon-199': '',
|
||||||
|
'icon-200': '',
|
||||||
|
'icon-201': '',
|
||||||
|
'icon-202': '',
|
||||||
|
'icon-203': '',
|
||||||
|
'icon-204': '',
|
||||||
|
'icon-205': '',
|
||||||
|
'icon-206': '',
|
||||||
|
'icon-207': '',
|
||||||
|
'icon-208': '',
|
||||||
|
'icon-209': '',
|
||||||
|
'icon-210': '',
|
||||||
|
'icon-211': '',
|
||||||
|
'icon-212': '',
|
||||||
|
'icon-213': '',
|
||||||
|
'icon-214': '',
|
||||||
|
'icon-215': '',
|
||||||
|
'icon-216': '',
|
||||||
|
'icon-217': '',
|
||||||
|
'icon-218': '',
|
||||||
|
'icon-219': '',
|
||||||
|
'icon-220': '',
|
||||||
|
'icon-221': '',
|
||||||
|
'icon-222': '',
|
||||||
|
'icon-223': '',
|
||||||
|
'icon-224': '',
|
||||||
|
'icon-225': '',
|
||||||
|
'icon-226': '',
|
||||||
|
'icon-227': '',
|
||||||
|
'icon-228': '',
|
||||||
|
'icon-229': '',
|
||||||
|
'icon-230': '',
|
||||||
|
'icon-231': '',
|
||||||
|
'icon-232': '',
|
||||||
|
'icon-233': '',
|
||||||
|
'icon-234': '',
|
||||||
|
'icon-235': '',
|
||||||
|
'icon-236': '',
|
||||||
|
'icon-237': '',
|
||||||
|
'icon-238': '',
|
||||||
|
'icon-239': '',
|
||||||
|
'icon-240': '',
|
||||||
|
'icon-241': '',
|
||||||
|
'icon-242': '',
|
||||||
|
'icon-243': '',
|
||||||
|
'icon-244': '',
|
||||||
|
'icon-245': '',
|
||||||
|
'icon-246': '',
|
||||||
|
'icon-247': '',
|
||||||
|
'icon-248': '',
|
||||||
|
'icon-249': '',
|
||||||
|
'icon-250': '',
|
||||||
|
'icon-251': '',
|
||||||
|
'icon-252': '',
|
||||||
|
'icon-253': '',
|
||||||
|
'icon-254': '',
|
||||||
|
'icon-255': '',
|
||||||
|
'icon-256': '',
|
||||||
|
'icon-257': '',
|
||||||
|
'icon-258': '',
|
||||||
|
'icon-259': '',
|
||||||
|
'icon-260': '',
|
||||||
|
'icon-261': '',
|
||||||
|
'icon-262': '',
|
||||||
|
'icon-263': '',
|
||||||
|
'icon-264': '',
|
||||||
|
'icon-265': '',
|
||||||
|
'icon-266': '',
|
||||||
|
'icon-267': '',
|
||||||
|
'icon-268': '',
|
||||||
|
'icon-269': '',
|
||||||
|
'icon-270': '',
|
||||||
|
'icon-271': '',
|
||||||
|
'icon-272': '',
|
||||||
|
'icon-273': '',
|
||||||
|
'icon-274': '',
|
||||||
|
'icon-275': '',
|
||||||
|
'icon-276': '',
|
||||||
|
'icon-277': '',
|
||||||
|
'icon-278': '',
|
||||||
|
'icon-279': '',
|
||||||
|
'icon-280': '',
|
||||||
|
'icon-281': '',
|
||||||
|
'icon-282': '',
|
||||||
|
'icon-283': '',
|
||||||
|
'icon-284': '',
|
||||||
|
'icon-285': '',
|
||||||
|
'icon-286': '',
|
||||||
|
'icon-287': '',
|
||||||
|
'icon-288': '',
|
||||||
|
'icon-289': '',
|
||||||
|
'icon-290': '',
|
||||||
|
'icon-291': '',
|
||||||
|
'icon-292': '',
|
||||||
|
'icon-293': '',
|
||||||
|
'icon-294': '',
|
||||||
|
'icon-295': '',
|
||||||
|
'icon-296': '',
|
||||||
|
'icon-297': '',
|
||||||
|
'icon-298': '',
|
||||||
|
'icon-299': '',
|
||||||
|
'icon-300': '',
|
||||||
|
'icon-301': '',
|
||||||
|
'icon-302': '',
|
||||||
|
'icon-303': '',
|
||||||
|
'icon-304': '',
|
||||||
|
'icon-305': '',
|
||||||
|
'icon-306': '',
|
||||||
|
'icon-307': '',
|
||||||
|
'icon-308': '',
|
||||||
|
'icon-309': '',
|
||||||
|
'icon-310': '',
|
||||||
|
'icon-311': '',
|
||||||
|
'icon-312': '',
|
||||||
|
'icon-313': '',
|
||||||
|
'icon-314': '',
|
||||||
|
'icon-315': '',
|
||||||
|
'icon-316': '',
|
||||||
|
'icon-317': '',
|
||||||
|
'icon-318': '',
|
||||||
|
'icon-319': '',
|
||||||
|
'icon-320': '',
|
||||||
|
'icon-321': '',
|
||||||
|
'icon-322': '',
|
||||||
|
'icon-323': '',
|
||||||
|
'icon-324': '',
|
||||||
|
'icon-325': '',
|
||||||
|
'icon-326': '',
|
||||||
|
'icon-327': '',
|
||||||
|
'icon-328': '',
|
||||||
|
'icon-329': '',
|
||||||
|
'icon-330': '',
|
||||||
|
'icon-331': '',
|
||||||
|
'icon-332': '',
|
||||||
|
'icon-333': '',
|
||||||
|
'icon-334': '',
|
||||||
|
'icon-335': '',
|
||||||
|
'icon-336': '',
|
||||||
|
'icon-337': '',
|
||||||
|
'icon-338': '',
|
||||||
|
'icon-339': '',
|
||||||
|
'icon-340': '',
|
||||||
|
'icon-341': '',
|
||||||
|
'icon-342': '',
|
||||||
|
'icon-343': '',
|
||||||
|
'icon-344': '',
|
||||||
|
'icon-345': '',
|
||||||
|
'icon-346': '',
|
||||||
|
'icon-347': '',
|
||||||
|
'icon-348': '',
|
||||||
|
'icon-349': '',
|
||||||
|
'icon-350': '',
|
||||||
|
'icon-351': '',
|
||||||
|
'icon-352': '',
|
||||||
|
'icon-353': '',
|
||||||
|
'icon-354': '',
|
||||||
|
'icon-355': '',
|
||||||
|
'icon-356': '',
|
||||||
|
'icon-357': '',
|
||||||
|
'icon-358': '',
|
||||||
|
'icon-359': '',
|
||||||
|
'icon-360': '',
|
||||||
|
'icon-361': '',
|
||||||
|
'icon-362': '',
|
||||||
|
'icon-363': '',
|
||||||
|
'icon-364': '',
|
||||||
|
'icon-365': '',
|
||||||
|
'icon-366': '',
|
||||||
|
'icon-367': '',
|
||||||
|
'icon-368': '',
|
||||||
|
'icon-369': '',
|
||||||
|
'icon-370': '',
|
||||||
|
'icon-371': '',
|
||||||
|
'icon-372': '',
|
||||||
|
'icon-373': '',
|
||||||
|
'icon-374': '',
|
||||||
|
'icon-375': '',
|
||||||
|
'0': 0
|
||||||
|
},
|
||||||
|
els = document.getElementsByTagName('*'),
|
||||||
|
i, c, el;
|
||||||
|
for (i = 0; ; i += 1) {
|
||||||
|
el = els[i];
|
||||||
|
if(!el) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
c = el.className;
|
||||||
|
c = c.match(/icon-[^\s'"]+/);
|
||||||
|
if (c && icons[c[0]]) {
|
||||||
|
addIcon(el, icons[c[0]]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}());
|
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.9 KiB |