first commit

This commit is contained in:
2026-02-21 17:11:31 +09:00
commit 18b4338361
4001 changed files with 365464 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
#ifndef FM_LAYER_H
#define FM_LAYER_H
#include <QWidget>
#include <QLabel>
#include <QSlider>
#define FM_COLOR_SET_NORMAL 0
#define FM_COLOR_SET_PRESSED 1
#define FM_COLOR_SET_HOVER 2
#define FM_COLOR_SET_DISABLED 3
#define FM_COLOR_SET_CHECKED 4
#define FM_COLOR_SET_COUNT 5
typedef int FM_COLOR_SET;
//{
// int normal;
// int pressed;
// int hover;
// int disabled;
// int checked;
//} FM_COLOR_SET;
inline QString FMColor(int c) {
return QString().sprintf("%06X",c);
}
void FMWidgetBorder(QWidget* w,const char* name, int c);
void FMLabel(QLabel* lb,const char* name, const char* font,int c, int size = 12, bool bold = false);
void FMLabelBackground(QLabel* lb,const char* name, const char* font,int c, int size, bool bold, int bg);
void FMWidgetBackground(QWidget* w,const char* name, int c);
void FMWidgetBorderBackground(QWidget* w,const char* name, int clBack, int clBorder);
void FMWidgetBottomBorderBackground(QWidget* w,const char* name, int clBack, int clBorder);
void FMSlider(QSlider* sl,const char* name,int cp, int cb, bool small = false);
#endif // FM_LAYER_H