summaryrefslogtreecommitdiffstats
path: root/logic/SkinUtils.h
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-11-27 16:56:15 +0000
committerSky <git@bunnies.cc>2013-11-27 16:56:15 +0000
commit7d7579d7f04f88013d7e4d064b2becec28cced61 (patch)
tree9f9181e08b1652a4a84c00ba140ad33462890f8b /logic/SkinUtils.h
parent7024e5a83e543a5e59e0c30ab72fe6ee5c5522f0 (diff)
downloadMultiMC-7d7579d7f04f88013d7e4d064b2becec28cced61.tar
MultiMC-7d7579d7f04f88013d7e4d064b2becec28cced61.tar.gz
MultiMC-7d7579d7f04f88013d7e4d064b2becec28cced61.tar.lz
MultiMC-7d7579d7f04f88013d7e4d064b2becec28cced61.tar.xz
MultiMC-7d7579d7f04f88013d7e4d064b2becec28cced61.zip
Move "manage accounts" to right, use player skin when available
Diffstat (limited to 'logic/SkinUtils.h')
-rw-r--r--logic/SkinUtils.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/logic/SkinUtils.h b/logic/SkinUtils.h
new file mode 100644
index 00000000..324f86b8
--- /dev/null
+++ b/logic/SkinUtils.h
@@ -0,0 +1,23 @@
+/* Copyright 2013 MultiMC Contributors
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#pragma once
+
+#include <QPixmap>
+
+namespace SkinUtils
+{
+QPixmap getFaceFromCache(QString username, int height = 48, int width = 48);
+}