1 /*$ 2 Copyright (C) 2013-2020 Azel. 3 4 This file is part of AzPainter. 5 6 AzPainter is free software: you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation, either version 3 of the License, or 9 (at your option) any later version. 10 11 AzPainter is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 $*/ 19 20 /****************************************** 21 * [Dock]オプションのウィジェット作成関数 22 ******************************************/ 23 24 #ifndef DOCK_OPTION_SUB_H 25 #define DOCK_OPTION_SUB_H 26 27 typedef struct _ValueBar ValueBar; 28 typedef struct _mComboBox mComboBox; 29 30 /* タブ内容作成 */ 31 32 mWidget *DockOption_createTab_tool(mWidget *parent); 33 mWidget *DockOption_createTab_tool_grad(mWidget *parent); 34 35 mWidget *DockOption_createTab_texture(mWidget *parent); 36 mWidget *DockOption_createTab_rule(mWidget *parent); 37 mWidget *DockOption_createTab_headtail(mWidget *parent); 38 39 /* ウィジェット作成 */ 40 41 mWidget *DockOption_createMainContainer(int size,mWidget *parent, 42 int (*event)(mWidget *,mEvent *)); 43 44 ValueBar *DockOption_createDensityBar(mWidget *parent,int id,int val); 45 ValueBar *DockOption_createBar(mWidget *parent,int wid,int label_id,int min,int max,int val); 46 47 mComboBox *DockOption_createPixelModeCombo(mWidget *parent,int id,uint8_t *dat,int sel); 48 mComboBox *DockOption_createComboBox(mWidget *parent,int cbid,int trid); 49 50 /* ほか */ 51 52 void DockOption_toolStamp_changeImage(mWidget *wg); 53 54 #endif 55