Rev 185 | Rev 194 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 185 | Rev 192 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /* |
1 | /* |
2 | This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop |
2 | This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop |
3 | Copyright (C) 2003-2019 Toby Thain, toby@telegraphics.com.au |
3 | Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.com.au |
- | 4 | Copyright (C) 2018-2019 Daniel Marschall, ViaThinkSoft |
|
4 | 5 | ||
5 | This program is free software; you can redistribute it and/or modify |
6 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by |
7 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or |
8 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. |
9 | (at your option) any later version. |
Line 180... | Line 181... | ||
180 | } |
181 | } |
181 | 182 | ||
182 | void slidermoved(DIALOGREF dp,int i){ |
183 | void slidermoved(DIALOGREF dp,int i){ |
183 | int v = GETSLIDERVALUE(dp,i); |
184 | int v = GETSLIDERVALUE(dp,i); |
184 | i -= FIRSTCTLITEM; |
185 | i -= FIRSTCTLITEM; |
185 | slider[i] = v; |
186 | slider[i] = v; |
186 | SETCTLTEXTINT(dp,i+FIRSTCTLTEXTITEM,v,false); |
187 | SETCTLTEXTINT(dp,i+FIRSTCTLTEXTITEM,v,false); |
187 | } |
188 | } |
188 | 189 | ||
189 | void slidertextchanged(DIALOGREF dp,int i){ |
190 | void slidertextchanged(DIALOGREF dp,int i){ |
190 | int v = GETCTLTEXTINT(dp,i,NULL,false); |
191 | int v = GETCTLTEXTINT(dp,i,NULL,false); |