QsIcon.h 285 B

12345678910111213141516
  1. #pragma once
  2. #include "QtGui/qicon.h"
  3. #include <string>
  4. #include <Kaguya/kaguya.hpp>
  5. #include "yutil/ini.h"
  6. class QsIcon :public QIcon
  7. {
  8. public:
  9. QsIcon(const std::string& filepath);
  10. ~QsIcon();
  11. static void regist(kaguya::State& T);
  12. private:
  13. void setSize(int width,int height);
  14. };