projects
/
vrfileman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moving along
[vrfileman]
/
src
/
icon.cc
diff --git
a/src/icon.cc
b/src/icon.cc
index
1e92995
..
ee7ccba
100644
(file)
--- a/
src/icon.cc
+++ b/
src/icon.cc
@@
-52,7
+52,7
@@
bool ShapesIcons::init()
Mat4 xform;
gen_geosphere(priv->shape[SHAPE_SPHERE], 0.5, 0);
Mat4 xform;
gen_geosphere(priv->shape[SHAPE_SPHERE], 0.5, 0);
- gen_box(priv->shape[SHAPE_BOX], 1, 1, 1);
+ gen_box(priv->shape[SHAPE_BOX], 0.7, 0.7, 0.7);
gen_torus(priv->shape[SHAPE_TORUS], 0.4, 0.1, 12, 6);
gen_cone(priv->shape[SHAPE_CONE], 0.5, 1.0, 8, 2, 1);
gen_torus(priv->shape[SHAPE_TORUS], 0.4, 0.1, 12, 6);
gen_cone(priv->shape[SHAPE_CONE], 0.5, 1.0, 8, 2, 1);
@@
-72,11
+72,11
@@
void ShapesIcons::shutdown()
static int fstype_shape(FSNodeType type)
{
switch(type) {
static int fstype_shape(FSNodeType type)
{
switch(type) {
- case FSNODE_FILE:
+ case FSTYPE_FILE:
return SHAPE_SPHERE;
return SHAPE_SPHERE;
- case FSNODE_DIR:
+ case FSTYPE_DIR:
return SHAPE_BOX;
return SHAPE_BOX;
- case FSNODE_DEV:
+ case FSTYPE_DEV:
return SHAPE_TORUS;
default:
break;
return SHAPE_TORUS;
default:
break;