Skip to content

Commit 6abe59b

Browse files
author
Joachim Marder
committed
Adapted project to V2.0 (issue #1)
1 parent 543fcea commit 6abe59b

File tree

9 files changed

+6
-185
lines changed

9 files changed

+6
-185
lines changed

Samples/Medium Level/02 Context Popup/ContextPopup.dpr

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
program ContextPopup;
22

3-
{$R 'ContextPopupUI.res' 'Ribbon\ContextPopupUI.rc'}
4-
53
uses
64
Forms,
75
FMain in 'FMain.pas' {FormMain},
8-
ContextPopupConst in 'Ribbon\ContextPopupConst.pas',
9-
UIRibbonApi in '..\..\..\Lib\UIRibbonApi.pas',
6+
UIRibbon in '..\..\..\Lib\UIRibbon.pas',
107
UIRibbonForm in '..\..\..\Lib\UIRibbonForm.pas',
118
UIRibbonUtils in '..\..\..\Lib\UIRibbonUtils.pas',
9+
UIRibbonApi in '..\..\..\Lib\UIRibbonApi.pas',
1210
UIRibbonCommands in '..\..\..\Lib\UIRibbonCommands.pas',
13-
UIRibbon in '..\..\..\Lib\UIRibbon.pas',
14-
WinApiEx in '..\..\..\Lib\WinApiEx.pas';
15-
16-
{$R *.res}
11+
WinApiEx in '..\..\..\Lib\WinApiEx.pas',
12+
UIRibbonActions in '..\..\..\Lib\UIRibbonActions.pas',
13+
ContextPopupUI in 'Ribbon\ContextPopupUI.pas';
1714

1815
begin
1916
ReportMemoryLeaksOnShutdown := True;

Samples/Medium Level/02 Context Popup/ContextPopup.dproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@
6868
<DelphiCompile Include="$(MainSource)">
6969
<MainSource>MainSource</MainSource>
7070
</DelphiCompile>
71-
<RcCompile Include="Ribbon\ContextPopupUI.rc">
72-
<Form>ContextPopupUI.res</Form>
73-
</RcCompile>
7471
<DCCReference Include="FMain.pas">
7572
<Form>FormMain</Form>
7673
</DCCReference>
-5.16 KB
Binary file not shown.
-51 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
UICC ContextPopupUI.xml ContextPopupUI.bml /header:ContextPopupUI.h /res:ContextPopupUI.rc /name:CONTEXTPOPUP
1+
powershell -f "..\..\..\..\Designer\Bin\Generate.Ribbon.Markup.pas.ps1" ContextPopupUI.xml
22
pause

Samples/Medium Level/02 Context Popup/Ribbon/ContextPopupConst.pas

Lines changed: 0 additions & 18 deletions
This file was deleted.
-2.39 KB
Binary file not shown.

Samples/Medium Level/02 Context Popup/Ribbon/ContextPopupUI.h

Lines changed: 0 additions & 58 deletions
This file was deleted.

Samples/Medium Level/02 Context Popup/Ribbon/ContextPopupUI.rc

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)