mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 11:42:42 +02:00
TaskDialog: TLCLTaskDialog and Win32 WS: remove type definitions (and conversion routines) that were copied from the old LCLTaskDialog unit. Part 2.
This commit is contained in:
parent
17bf02baad
commit
8012169318
@ -204,9 +204,8 @@ end;
|
||||
|
||||
const
|
||||
LCL_IMAGES: array[TTaskDialogIcon] of Integer = (
|
||||
0 {tdiNone}, idDialogWarning {tdiWarning}, idDialogError {tdiError}, idDialogInfo {tdiInformation}, idDialogShield {tdiShield}, idDialogConfirm {tdiQuestion});
|
||||
//LCL_FOOTERIMAGES: array[TTaskDialogIcon] of Integer = (
|
||||
//0 {tdiNone}, idDialogWarning {tdiWarning}, idDialogError {tdiError}, idDialogInfo {tdiInformation}, idDialogShield {tdiShield}, idDialogConfirm {tdiQuestion});
|
||||
0 {tdiNone}, idDialogWarning {tdiWarning}, idDialogError {tdiError}, idDialogInfo {tdiInformation},
|
||||
idDialogShield {tdiShield}, idDialogConfirm {tdiQuestion});
|
||||
|
||||
const
|
||||
TD_BTNMOD: array[TTaskDialogCommonButton] of Integer = (
|
||||
@ -227,33 +226,6 @@ end;
|
||||
|
||||
|
||||
|
||||
//function TF_DIALOGICON(const aIcon: TTaskDialogIcon): TLCLTaskDialogIcon;
|
||||
//begin
|
||||
// case aIcon of
|
||||
// tdiWarning: Result := tiWarning;
|
||||
// tdiError: Result := tiError;
|
||||
// tdiInformation: Result := tiInformation;
|
||||
// tdiShield: Result := tiShield;
|
||||
// tdiQuestion: Result := tiQuestion;
|
||||
// else
|
||||
// Result := tiBlank;
|
||||
// end;
|
||||
//end;
|
||||
|
||||
//function TF_FOOTERICON(const aIcon: TTaskDialogIcon): TLCLTaskDialogFooterIcon;
|
||||
//begin
|
||||
// case aIcon of
|
||||
// tdiWarning: Result := tfiWarning;
|
||||
// tdiError: Result := tfiError;
|
||||
// tdiInformation: Result := tfiInformation;
|
||||
// tdiShield: Result := tfiShield;
|
||||
// tdiQuestion: Result := tfiQuestion;
|
||||
// else
|
||||
// Result := tfiBlank;
|
||||
// end;
|
||||
//end;
|
||||
|
||||
|
||||
function IconMessage(Icon: TTaskDialogIcon): string;
|
||||
begin
|
||||
case Icon of
|
||||
|
Loading…
Reference in New Issue
Block a user