Skip to content

Commit

Permalink
Introduced ui_win.h
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.viathinksoft.com/svn/filter_foundry/trunk@576 1b5a0048-3058-4200-831f-25aa9e3a14b9
  • Loading branch information
danielmarschall committed Jun 9, 2024
1 parent eb2e9a6 commit f5763bc
Show file tree
Hide file tree
Showing 11 changed files with 156 additions and 115 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ visual_studio/*.idb
visual_studio/*.8bf.manifest
visual_studio/*.intermediate.manifest


win_flex_bison/custom_build_rules
win_flex_bison/data/
win_flex_bison/FlexLexer.h
win_flex_bison/README.txt
win_flex_bison/README.md
win_flex_bison/UNISTD_ERROR.readme
win_flex_bison/win_bison.exe
win_flex_bison/win_flex.exe
Expand Down
18 changes: 5 additions & 13 deletions slider_win.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,13 @@

#include <Windows.h>

// If use_plugin_dll_sliders switch enabled:
// The sliders will use PLUGIN.DLL if it is available,
// otherwise (e.g. if the host is non-Adobe), it will use the Windows common control sliders.
// If use_plugin_dll_sliders switch disabled:
// Only Windows common control sliders will be used (requires Win95+)
#define use_plugin_dll_sliders

#ifdef use_plugin_dll_sliders

// PLUGIN.DLL Sliders:

BOOL PluginDll_RegisterSlider(HINSTANCE hInstanceDll, DWORD* MessageID);
BOOL PluginDll_UnRegisterSlider(HINSTANCE hInstanceDll);
int PluginDll_SetSliderRange(HWND hWnd, int nMin, int nMax);
int PluginDll_SetSliderPos(HWND hWnd, int nPos, BOOL bRepaint);
int PluginDll_GetSliderPos(HWND hWnd, BOOL bPixelPosition);

#endif

// Use these functions ONLY:

void FF_SetSliderRange(HWND hDlg, int nIDDlgItem, int min, int max);
int FF_GetSliderPos(HWND hDlg, int nIDDlgItem);
Expand Down
10 changes: 1 addition & 9 deletions ui_win.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "ff.h"
#include "slider_win.h"
#include "version.h"
#include "ui_win.h"

HWND preview_hwnd;
HCURSOR hCurHandOpen;
Expand All @@ -40,15 +41,6 @@ HICON hIconCautionSign;

extern HINSTANCE hDllInstance;

// { iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 37476 products(2) filter-foundry(72) controls(2) slider(1) }
#define OID_SLIDER_WNDCLASS "1.3.6.1.4.1.37476.2.72.2.1"

// { iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 37476 products(2) filter-foundry(72) controls(2) preview(2) }
#define OID_PREVIEW_WNDCLASS "1.3.6.1.4.1.37476.2.72.2.2"

// { iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 37476 products(2) filter-foundry(72) controls(2) caution(3) }
#define OID_CAUTION_WNDCLASS "1.3.6.1.4.1.37476.2.72.2.3"

void DoAbout(AboutRecordPtr pb){
TCHAR* tmp1;
TCHAR* filters = (TCHAR*)malloc(4096);
Expand Down
33 changes: 33 additions & 0 deletions ui_win.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.net
Copyright (C) 2018-2024 Daniel Marschall, ViaThinkSoft
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

#ifndef UI_WIN_H_
#define UI_WIN_H_

// { iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 37476 products(2) filter-foundry(72) controls(2) slider(1) }
#define OID_SLIDER_WNDCLASS "1.3.6.1.4.1.37476.2.72.2.1"

// { iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 37476 products(2) filter-foundry(72) controls(2) preview(2) }
#define OID_PREVIEW_WNDCLASS "1.3.6.1.4.1.37476.2.72.2.2"

// { iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 37476 products(2) filter-foundry(72) controls(2) caution(3) }
#define OID_CAUTION_WNDCLASS "1.3.6.1.4.1.37476.2.72.2.3"

#endif
106 changes: 54 additions & 52 deletions ui_win.rc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@

#include "winuser.h"
#include "commctrl.h"

#include "ui.h"
#include "ui_win.h"

LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
CAUTION_ICO ICON "caution.ico"
Expand All @@ -47,8 +49,8 @@ FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 260, 253, 42, 14

/* "1.3.6.1.4.1.37476.2.72.2.2" (Preview) is a subclass of "Static", defined in ui_win.c */
CONTROL "", PREVIEWITEM, "1.3.6.1.4.1.37476.2.72.2.2", SS_OWNERDRAW|SS_NOTIFY|SS_SUNKEN, 15,10, 100,100
/* OID_PREVIEW_WNDCLASS (Preview) is a subclass of "Static", defined in ui_win.c */
CONTROL "", PREVIEWITEM, OID_PREVIEW_WNDCLASS, SS_OWNERDRAW|SS_NOTIFY|SS_SUNKEN, 15,10, 100,100

CONTROL "+", ZOOMINITEM, "Button", BS_PUSHBUTTON | BS_CENTER | BS_FLAT | WS_CHILD | WS_VISIBLE, 102,115, 14,12
CONTROL "-", ZOOMOUTITEM, "Button", BS_PUSHBUTTON | BS_CENTER | BS_FLAT | WS_CHILD | WS_VISIBLE, 15,115, 14,12
Expand All @@ -63,14 +65,14 @@ BEGIN
LTEXT "ctl(6)",FIRSTCTLLABELITEM+6, 129,100, 25,12
LTEXT "ctl(7)",FIRSTCTLLABELITEM+7, 129,115, 25,12

CONTROL "",FIRSTCTLITEM, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,10, 105,10
CONTROL "",FIRSTCTLITEM+1, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,25, 105,10
CONTROL "",FIRSTCTLITEM+2, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,40, 105,10
CONTROL "",FIRSTCTLITEM+3, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,55, 105,10
CONTROL "",FIRSTCTLITEM+4, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,70, 105,10
CONTROL "",FIRSTCTLITEM+5, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,85, 105,10
CONTROL "",FIRSTCTLITEM+6, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,100, 105,10
CONTROL "",FIRSTCTLITEM+7, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,115, 105,10
CONTROL "",FIRSTCTLITEM, OID_SLIDER_WNDCLASS, 0, 154,10, 105,10
CONTROL "",FIRSTCTLITEM+1, OID_SLIDER_WNDCLASS, 0, 154,25, 105,10
CONTROL "",FIRSTCTLITEM+2, OID_SLIDER_WNDCLASS, 0, 154,40, 105,10
CONTROL "",FIRSTCTLITEM+3, OID_SLIDER_WNDCLASS, 0, 154,55, 105,10
CONTROL "",FIRSTCTLITEM+4, OID_SLIDER_WNDCLASS, 0, 154,70, 105,10
CONTROL "",FIRSTCTLITEM+5, OID_SLIDER_WNDCLASS, 0, 154,85, 105,10
CONTROL "",FIRSTCTLITEM+6, OID_SLIDER_WNDCLASS, 0, 154,100, 105,10
CONTROL "",FIRSTCTLITEM+7, OID_SLIDER_WNDCLASS, 0, 154,115, 105,10

EDITTEXT FIRSTCTLTEXTITEM, 273, 10, 24,12, ES_NUMBER|ES_RIGHT
EDITTEXT FIRSTCTLTEXTITEM+1, 273, 25, 24,12, ES_NUMBER|ES_RIGHT
Expand All @@ -86,11 +88,11 @@ BEGIN
LTEXT "B =",FIRSTLABELITEM+2, 15,191, 13,12
LTEXT "A =",FIRSTLABELITEM+3, 15,219, 13,12

/* "1.3.6.1.4.1.37476.2.72.2.3" (Caution icon) is a subclass of "Button", defined in ui_win.c */
CONTROL "!",FIRSTICONITEM, "1.3.6.1.4.1.37476.2.72.2.3",BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,147, 16,16
CONTROL "!",FIRSTICONITEM+1, "1.3.6.1.4.1.37476.2.72.2.3",BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,175, 16,16
CONTROL "!",FIRSTICONITEM+2, "1.3.6.1.4.1.37476.2.72.2.3",BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,203, 16,16
CONTROL "!",FIRSTICONITEM+3, "1.3.6.1.4.1.37476.2.72.2.3",BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,231, 16,16
/* OID_CAUTION_WNDCLASS (Caution icon) is a subclass of "Button", defined in ui_win.c */
CONTROL "!",FIRSTICONITEM, OID_CAUTION_WNDCLASS,BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,147, 16,16
CONTROL "!",FIRSTICONITEM+1, OID_CAUTION_WNDCLASS,BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,175, 16,16
CONTROL "!",FIRSTICONITEM+2, OID_CAUTION_WNDCLASS,BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,203, 16,16
CONTROL "!",FIRSTICONITEM+3, OID_CAUTION_WNDCLASS,BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,231, 16,16

EDITTEXT FIRSTEXPRITEM, 35,135, 262, 24, ES_AUTOVSCROLL|ES_MULTILINE|ES_WANTRETURN|WS_VSCROLL
EDITTEXT FIRSTEXPRITEM+1, 35,163, 262, 24, ES_AUTOVSCROLL|ES_MULTILINE|ES_WANTRETURN|WS_VSCROLL
Expand All @@ -112,8 +114,8 @@ FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 260, 253, 42, 14

/* "1.3.6.1.4.1.37476.2.72.2.2" (Preview) is a subclass of "Static", defined in ui_win.c */
CONTROL "", PREVIEWITEM, "1.3.6.1.4.1.37476.2.72.2.2", SS_OWNERDRAW|SS_NOTIFY|SS_SUNKEN, 15,10, 100,100
/* OID_PREVIEW_WNDCLASS (Preview) is a subclass of "Static", defined in ui_win.c */
CONTROL "", PREVIEWITEM, OID_PREVIEW_WNDCLASS, SS_OWNERDRAW|SS_NOTIFY|SS_SUNKEN, 15,10, 100,100

CONTROL "+", ZOOMINITEM, "Button", BS_PUSHBUTTON | BS_CENTER | BS_FLAT | WS_CHILD | WS_VISIBLE, 102,115, 14,12
CONTROL "-", ZOOMOUTITEM, "Button", BS_PUSHBUTTON | BS_CENTER | BS_FLAT | WS_CHILD | WS_VISIBLE, 15,115, 14,12
Expand All @@ -128,14 +130,14 @@ BEGIN
LTEXT "ctl(6)",FIRSTCTLLABELITEM+6, 129,100, 25,12
LTEXT "ctl(7)",FIRSTCTLLABELITEM+7, 129,115, 25,12

CONTROL "",FIRSTCTLITEM, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,10, 105,10
CONTROL "",FIRSTCTLITEM+1, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,25, 105,10
CONTROL "",FIRSTCTLITEM+2, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,40, 105,10
CONTROL "",FIRSTCTLITEM+3, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,55, 105,10
CONTROL "",FIRSTCTLITEM+4, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,70, 105,10
CONTROL "",FIRSTCTLITEM+5, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,85, 105,10
CONTROL "",FIRSTCTLITEM+6, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,100, 105,10
CONTROL "",FIRSTCTLITEM+7, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,115, 105,10
CONTROL "",FIRSTCTLITEM, OID_SLIDER_WNDCLASS, 0, 154,10, 105,10
CONTROL "",FIRSTCTLITEM+1, OID_SLIDER_WNDCLASS, 0, 154,25, 105,10
CONTROL "",FIRSTCTLITEM+2, OID_SLIDER_WNDCLASS, 0, 154,40, 105,10
CONTROL "",FIRSTCTLITEM+3, OID_SLIDER_WNDCLASS, 0, 154,55, 105,10
CONTROL "",FIRSTCTLITEM+4, OID_SLIDER_WNDCLASS, 0, 154,70, 105,10
CONTROL "",FIRSTCTLITEM+5, OID_SLIDER_WNDCLASS, 0, 154,85, 105,10
CONTROL "",FIRSTCTLITEM+6, OID_SLIDER_WNDCLASS, 0, 154,100, 105,10
CONTROL "",FIRSTCTLITEM+7, OID_SLIDER_WNDCLASS, 0, 154,115, 105,10

EDITTEXT FIRSTCTLTEXTITEM, 273, 10, 24,12, ES_NUMBER|ES_RIGHT
EDITTEXT FIRSTCTLTEXTITEM+1, 273, 25, 24,12, ES_NUMBER|ES_RIGHT
Expand All @@ -151,11 +153,11 @@ BEGIN
LTEXT "B =",FIRSTLABELITEM+2, 15,191, 13,12
LTEXT "A =",FIRSTLABELITEM+3, 15,219, 13,12

/* "1.3.6.1.4.1.37476.2.72.2.3" (Caution icon) is a subclass of "Button", defined in ui_win.c */
CONTROL "!",FIRSTICONITEM, "1.3.6.1.4.1.37476.2.72.2.3",BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,147, 16,16
CONTROL "!",FIRSTICONITEM+1, "1.3.6.1.4.1.37476.2.72.2.3",BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,175, 16,16
CONTROL "!",FIRSTICONITEM+2, "1.3.6.1.4.1.37476.2.72.2.3",BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,203, 16,16
CONTROL "!",FIRSTICONITEM+3, "1.3.6.1.4.1.37476.2.72.2.3",BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,231, 16,16
/* OID_CAUTION_WNDCLASS (Caution icon) is a subclass of "Button", defined in ui_win.c */
CONTROL "!",FIRSTICONITEM, OID_CAUTION_WNDCLASS,BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,147, 16,16
CONTROL "!",FIRSTICONITEM+1, OID_CAUTION_WNDCLASS,BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,175, 16,16
CONTROL "!",FIRSTICONITEM+2, OID_CAUTION_WNDCLASS,BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,203, 16,16
CONTROL "!",FIRSTICONITEM+3, OID_CAUTION_WNDCLASS,BS_PUSHBUTTON | BS_CENTER | BS_FLAT | BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS, 15,231, 16,16

EDITTEXT FIRSTEXPRITEM, 35,135, 262, 24, ES_AUTOVSCROLL|ES_MULTILINE|ES_WANTRETURN|WS_VSCROLL
EDITTEXT FIRSTEXPRITEM+1, 35,163, 262, 24, ES_AUTOVSCROLL|ES_MULTILINE|ES_WANTRETURN|WS_VSCROLL
Expand All @@ -177,8 +179,8 @@ FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 256,137, 42,14

/* "1.3.6.1.4.1.37476.2.72.2.2" (Preview) is a subclass of "Static", defined in ui_win.c */
CONTROL "", PREVIEWITEM, "1.3.6.1.4.1.37476.2.72.2.2",SS_OWNERDRAW|SS_NOTIFY|SS_SUNKEN, 15,10, 100,100
/* OID_PREVIEW_WNDCLASS (Preview) is a subclass of "Static", defined in ui_win.c */
CONTROL "", PREVIEWITEM, OID_PREVIEW_WNDCLASS,SS_OWNERDRAW|SS_NOTIFY|SS_SUNKEN, 15,10, 100,100

CONTROL "+", ZOOMINITEM, "Button", BS_PUSHBUTTON | BS_CENTER | BS_FLAT | WS_CHILD | WS_VISIBLE, 103,115, 12,12
CONTROL "-", ZOOMOUTITEM, "Button", BS_PUSHBUTTON | BS_CENTER | BS_FLAT | WS_CHILD | WS_VISIBLE, 15,115, 12,12
Expand All @@ -198,14 +200,14 @@ BEGIN
LTEXT "map(2)",FIRSTMAPLABELITEM+2, 129, 78, 25,12
LTEXT "map(3)",FIRSTMAPLABELITEM+3, 129,108, 25,12

CONTROL "",FIRSTCTLITEM, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154, 10, 100,10
CONTROL "",FIRSTCTLITEM+1, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154, 25, 100,10
CONTROL "",FIRSTCTLITEM+2, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154, 40, 100,10
CONTROL "",FIRSTCTLITEM+3, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154, 55, 100,10
CONTROL "",FIRSTCTLITEM+4, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154, 70, 100,10
CONTROL "",FIRSTCTLITEM+5, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154, 85, 100,10
CONTROL "",FIRSTCTLITEM+6, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,100, 100,10
CONTROL "",FIRSTCTLITEM+7, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,115, 100,10
CONTROL "",FIRSTCTLITEM, OID_SLIDER_WNDCLASS, 0, 154, 10, 100,10
CONTROL "",FIRSTCTLITEM+1, OID_SLIDER_WNDCLASS, 0, 154, 25, 100,10
CONTROL "",FIRSTCTLITEM+2, OID_SLIDER_WNDCLASS, 0, 154, 40, 100,10
CONTROL "",FIRSTCTLITEM+3, OID_SLIDER_WNDCLASS, 0, 154, 55, 100,10
CONTROL "",FIRSTCTLITEM+4, OID_SLIDER_WNDCLASS, 0, 154, 70, 100,10
CONTROL "",FIRSTCTLITEM+5, OID_SLIDER_WNDCLASS, 0, 154, 85, 100,10
CONTROL "",FIRSTCTLITEM+6, OID_SLIDER_WNDCLASS, 0, 154,100, 100,10
CONTROL "",FIRSTCTLITEM+7, OID_SLIDER_WNDCLASS, 0, 154,115, 100,10

EDITTEXT FIRSTCTLTEXTITEM, 269, 10, 24,12, ES_NUMBER|ES_RIGHT
EDITTEXT FIRSTCTLTEXTITEM+1, 269, 25, 24,12, ES_NUMBER|ES_RIGHT
Expand All @@ -229,8 +231,8 @@ FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 256,137, 42,14

/* "1.3.6.1.4.1.37476.2.72.2.2" (Preview) is a subclass of "Static", defined in ui_win.c */
CONTROL "", PREVIEWITEM, "1.3.6.1.4.1.37476.2.72.2.2",SS_OWNERDRAW|SS_NOTIFY|SS_SUNKEN, 15,10, 100,100
/* OID_PREVIEW_WNDCLASS (Preview) is a subclass of "Static", defined in ui_win.c */
CONTROL "", PREVIEWITEM, OID_PREVIEW_WNDCLASS,SS_OWNERDRAW|SS_NOTIFY|SS_SUNKEN, 15,10, 100,100

CONTROL "+", ZOOMINITEM, "Button", BS_PUSHBUTTON | BS_CENTER | BS_FLAT | WS_CHILD | WS_VISIBLE, 103,115, 12,12
CONTROL "-", ZOOMOUTITEM, "Button", BS_PUSHBUTTON | BS_CENTER | BS_FLAT | WS_CHILD | WS_VISIBLE, 15,115, 12,12
Expand All @@ -250,14 +252,14 @@ BEGIN
LTEXT "map(2)",FIRSTMAPLABELITEM+2, 129, 78, 25,12
LTEXT "map(3)",FIRSTMAPLABELITEM+3, 129,108, 25,12

CONTROL "",FIRSTCTLITEM, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154, 10, 100,10
CONTROL "",FIRSTCTLITEM+1, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154, 25, 100,10
CONTROL "",FIRSTCTLITEM+2, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154, 40, 100,10
CONTROL "",FIRSTCTLITEM+3, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154, 55, 100,10
CONTROL "",FIRSTCTLITEM+4, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154, 70, 100,10
CONTROL "",FIRSTCTLITEM+5, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154, 85, 100,10
CONTROL "",FIRSTCTLITEM+6, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,100, 100,10
CONTROL "",FIRSTCTLITEM+7, "1.3.6.1.4.1.37476.2.72.2.1", 0, 154,115, 100,10
CONTROL "",FIRSTCTLITEM, OID_SLIDER_WNDCLASS, 0, 154, 10, 100,10
CONTROL "",FIRSTCTLITEM+1, OID_SLIDER_WNDCLASS, 0, 154, 25, 100,10
CONTROL "",FIRSTCTLITEM+2, OID_SLIDER_WNDCLASS, 0, 154, 40, 100,10
CONTROL "",FIRSTCTLITEM+3, OID_SLIDER_WNDCLASS, 0, 154, 55, 100,10
CONTROL "",FIRSTCTLITEM+4, OID_SLIDER_WNDCLASS, 0, 154, 70, 100,10
CONTROL "",FIRSTCTLITEM+5, OID_SLIDER_WNDCLASS, 0, 154, 85, 100,10
CONTROL "",FIRSTCTLITEM+6, OID_SLIDER_WNDCLASS, 0, 154,100, 100,10
CONTROL "",FIRSTCTLITEM+7, OID_SLIDER_WNDCLASS, 0, 154,115, 100,10

EDITTEXT FIRSTCTLTEXTITEM, 269, 10, 24,12, ES_NUMBER|ES_RIGHT
EDITTEXT FIRSTCTLTEXTITEM+1, 269, 25, 24,12, ES_NUMBER|ES_RIGHT
Expand Down Expand Up @@ -369,10 +371,10 @@ BEGIN

CHECKBOX "Filter schützen",PROTECTITEM, 10,219, 67,12

LTEXT "Kategorie:", 100, 10,10, 35,12
LTEXT "Kategorie:", 100, 10,10, 35,12
LTEXT "Titel:", 101, 10,25, 35,12
LTEXT "Copyright:", 102, 10,40, 35,12
LTEXT "Autor:", 103, 10,67, 35,12
LTEXT "Autor:", 103, 10,67, 35,12

PUSHBUTTON "Abbrechen", IDCANCEL, 106,219, 42,14
END
1 change: 1 addition & 0 deletions visual_studio/FilterFoundry.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ foundry_3264_mixer.bat
<ClInclude Include="..\telegraphics_common\tt\str.h" />
<ClInclude Include="..\telegraphics_common\tt\ui_compat.h" />
<ClInclude Include="..\ui.h" />
<ClInclude Include="..\ui_win.h" />
<ClInclude Include="..\unistd.h" />
<ClInclude Include="..\version.h" />
<ClInclude Include="..\versioninfo_modify_win.h" />
Expand Down
3 changes: 3 additions & 0 deletions visual_studio/FilterFoundry.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@
<ClInclude Include="..\language.h">
<Filter>Headerdateien</Filter>
</ClInclude>
<ClInclude Include="..\ui_win.h">
<Filter>Headerdateien</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\telegraphics_common\adobeplugin\dllmain.c">
Expand Down
2 changes: 1 addition & 1 deletion visual_studio/nmake.mak
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ all : parser lexer $(EXEC).8bf
clean :
-del *.obj *.asm *.cod win_res.res $(EXEC).8bf $(EXEC).exp $(EXEC).lib $(EXEC).map

win_res.res : ..\win_res.rc ..\Scripting.rc ..\PiPL.rc ..\PiPL_body.rc ..\manifest.rc ..\version_win.rc ..\ui_win.rc ..\caution.ico ..\ui.h ..\version.h
win_res.res : ..\win_res.rc ..\Scripting.rc ..\PiPL.rc ..\PiPL_body.rc ..\manifest.rc ..\version_win.rc ..\ui_win.rc ..\caution.ico ..\ui.h ..\ui_win.h ..\version.h
$(RC) $(RFLAGS) $(CPPFLAGS) -fowin_res.res ..\win_res.rc

parser : ..\parser.y
Expand Down
Loading

0 comments on commit f5763bc

Please sign in to comment.