Skip to content

Commit

Permalink
Image resource is working
Browse files Browse the repository at this point in the history
German localization
  • Loading branch information
fabiantheblind committed Jul 27, 2011
1 parent b2659f1 commit 279b79b
Show file tree
Hide file tree
Showing 8 changed files with 138 additions and 7 deletions.
Binary file added Iconic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added IconicR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 13 additions & 6 deletions MPOLnch.fr
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
#include "MPOLnchID.h"
#include "MPOLnchRezDefs.h"

#include "MPOLnchpng.fr"

#ifdef __ODFRC__

//================================================================================
Expand Down Expand Up @@ -293,7 +295,8 @@ resource LocaleIndex (kSDKDefStringsResourceID)
{
kWildFS, k_enUS, kSDKDefStringsResourceID + index_enUS
kWildFS, k_jaJP, kSDKDefStringsResourceID + index_jaJP

kWildFS, k_deDE, kSDKDefStringsResourceID + index_deDE

kWildFS, k_Wild, kSDKDefStringsResourceID + index_enUS
}
};
Expand Down Expand Up @@ -398,7 +401,7 @@ resource MPOLnchPanelWidget(kSDKDefPanelResourceID + index_enUS)
(
kMPOLnchListBoxWidgetID, kPMRsrcID_None, // WidgetId, RsrcId
kBindAll, // Frame binding
Frame(-1,0,208,96) // Frame
Frame(-1,0,208,199) // Frame
kTrue, kTrue, // Visible, Enabled
kTrue, // EraseBeforeDraw
kInterfacePaletteFill, // InterfaceColor
Expand Down Expand Up @@ -435,13 +438,14 @@ resource MPOLnchNodeWidget (kMPOLnchListElementRsrcID + index_enUS)
{
MPOLnchEyeballWidget
(
kMPOLnchListElementEyeballWidgetID, kMPOLnchEyeBallIcon, kMPOLnchPluginID, // WidgetId, RsrcId
kMPOLnchListElementEyeballWidgetID, kMPOLnchPNGIconRsrcID, kMPOLnchPluginID, // WidgetId, RsrcId
kBindLeft, // Frame binding
Frame(3,1,44,42) // Frame
kTrue, kTrue, // Visible, Enabled
kADBEIconSuiteButtonType,
),
/*
/*


MPOLnchPenWidget
(
Expand All @@ -461,10 +465,11 @@ resource MPOLnchNodeWidget (kMPOLnchListElementRsrcID + index_enUS)
kTrue, kTrue, kAlignLeft,kEllipsizeEnd,kTrue, // Visible, Enabled, ellipsize style, convert ampersands
"", // Initial text
0, // Associated widget for focus
kPaletteWindowSystemScriptFontId, // default font
kPaletteWindowSystemScriptHiliteFontId, // for highlight state.
kDialogWindowFontId, // default font
kDialogWindowFontId, // for highlight state.
),


}
};

Expand All @@ -475,6 +480,8 @@ resource MPOLnchNodeWidget (kMPOLnchListElementRsrcID + index_enUS)
#endif // __ODFRC__

#include "MPOLnch_enUS.fr"
#include "MPOLnch_deDE.fr"

#include "MPOLnch_jaJP.fr"

// End, MPOLnch.fr.
Expand Down
2 changes: 1 addition & 1 deletion MPOLnchFactoryList.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

REGISTER_PMINTERFACE(MPOLnchActionComponent, kMPOLnchActionComponentImpl)
REGISTER_PMINTERFACE(MPOLnchListBoxObserver, kMPOLnchListBoxObserverImpl)
//REGISTER_PMINTERFACE(MPOLnchEyeballObserverImpl, kMPOLnchEyeballObserverImpl)
REGISTER_PMINTERFACE(MPOLnchEyeballObserverImpl, kMPOLnchEyeballObserverImpl)
//sREGISTER_PMINTERFACE(MPOLnchPenObserverImpl, kMPOLnchPenObserverImpl)
REGISTER_PMINTERFACE(MPOLnchTreeViewAdapter, kMPOLnchTVHierarchyAdapterImpl)
REGISTER_PMINTERFACE(MPOLnchTVWidgetMgr, kMPOLnchTVWidgetMgrImpl)
Expand Down
6 changes: 6 additions & 0 deletions MPOLnchID.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ DECLARE_PMID(kWidgetIDSpace, kMPOLnchListElementPenWidgetID, kMPOLnchPrefix + 5)
#define kMPOLnchCurrentMajorFormatNumber kMPOLnchFirstMajorFormatNumber // most recent major format change
#define kMPOLnchCurrentMinorFormatNumber kMPOLnchFirstMinorFormatNumber // most recent minor format change


// PNG specific IDs
#define kMPOLnchPNGIconRsrcID 10250
#define kMPOLnchPNGIconRollRsrcID 10250


#endif // __MPOLnchID_h__

// End, MPOLnchID.h.
Expand Down
Empty file added MPOLnchPictResources.rsrc
Empty file.
84 changes: 84 additions & 0 deletions MPOLnch_deDE.fr
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
//========================================================================================
//
// $File: //depot/indesign_6.0/highprofile/source/sdksamples/wlistboxcomposite/MPOLnch_enUS.fr $
//
// Owner: Adobe Developer Technologies
//
// $Author: pmbuilder $
//
// $DateTime: 2008/08/19 04:03:07 $
//
// $Revision: #1 $
//
// $Change: 643572 $
//
// Copyright 1997-2008 Adobe Systems Incorporated. All rights reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
// with the terms of the Adobe license agreement accompanying it. If you have received
// this file from a source other than Adobe, then your use, modification, or
// distribution of it requires the prior written permission of Adobe.
//
//========================================================================================

#ifdef __ODFRC__

//========================================================================================
// English strings
//========================================================================================

// English string table is defined here

resource StringTable (kSDKDefStringsResourceID + index_deDE)
{
k_deDE, // Locale Id
kEuropeanMacToWinEncodingConverter, // Character encoding converter

{

// ----- Menu strings
kMPOLnchCompanyKey, kMPOLnchCompanyValue,
kMPOLnchAboutMenuKey, kMPOLnchPluginName "[DE]...",
kMPOLnchPluginsMenuKey, kMPOLnchPluginName "[DE]",
kMPOLnchAddItemMenuItemKey, "Skriptdateien wiederherstellen [DE]",
kMPOLnchRemoveItemMenuItemKey, "Remove item [DE]",
kSDKDefAboutThisPlugInMenuKey, kSDKDefAboutThisPlugInMenuValue_deDE,

// ----- Command strings


// ----- Window strings


// ----- Panel/dialog strings
kMPOLnchPanelTitleKey, "MPO Launcher" " [DE]",// irp was kMPOLnchPluginName "[DE]",
// ----- Error strings


// ----- Misc strings
kMPOLnchAboutBoxStringKey, kMPOLnchPluginName "[DE], version " kMPOLnchVersion " by " kMPOLnchAuthor "\n\n" kSDKDefCopyrightStandardValue "\n\n" kSDKDefPartnersStandardValue_deDE,
//
kMPOLnchItemBaseKey "1", "newscriptfile01",
kMPOLnchItemBaseKey "2", "newscriptfile02",
kMPOLnchItemBaseKey "3", "newscriptfile03",
kMPOLnchItemBaseKey "4", "newscriptfile04",

kMPOLnchItemBaseKey "5", "newscriptfile05",
kMPOLnchItemBaseKey "6", "newscriptfile06",
kMPOLnchItemBaseKey "7", "newscriptfile07",
kMPOLnchItemBaseKey "8", "newscriptfile08",

kMPOLnchItemBaseKey "9", "newscriptfile09",
kMPOLnchItemBaseKey "10", "newscriptfile10",
kMPOLnchItemBaseKey "11", "newscriptfile11",
kMPOLnchItemBaseKey "12", "newscriptfile12",
kMPOLnchAddedElementKey, " + Added Element",
}

};

#endif // __ODFRC__

// End , MPOLnch_deDE.fr


34 changes: 34 additions & 0 deletions MPOLnchpng.fr
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//========================================================================================
//
// $File: //depot/indesign_6.0/highprofile/source/sdksamples/pictureicon/picicopng.fr $
//
// Owner: Adobe Developer Technologies
//
// $Author: pmbuilder $
//
// $DateTime: 2008/08/19 04:03:07 $
//
// $Revision: #1 $
//
// $Change: 643572 $
//
// Copyright 1997-2008 Adobe Systems Incorporated. All rights reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
// with the terms of the Adobe license agreement accompanying it. If you have received
// this file from a source other than Adobe, then your use, modification, or
// distribution of it requires the prior written permission of Adobe.
//
//
// Identifies PNG resources used by the PicIco plug-in.
//
//========================================================================================

#ifdef __ODFRC__

#include "MPOLnchID.h"

resource PNGA(kMPOLnchPNGIconRsrcID) "Iconic.png"
resource PNGR(kMPOLnchPNGIconRollRsrcID) "IconicR.png"

#endif

0 comments on commit 279b79b

Please sign in to comment.