├── Source
├── Unit1.ddp
├── Unit1.pas
├── Project1.res
├── Icons
│ └── snapshots.png
├── clear.bat
├── Project1.dpr
├── Project1.cfg
├── Unit1.dfm
└── Project1.dof
├── LICENSE
├── README.RU.md
└── README.md
/Source/Unit1.ddp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r57zone/Notifications/HEAD/Source/Unit1.ddp
--------------------------------------------------------------------------------
/Source/Unit1.pas:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r57zone/Notifications/HEAD/Source/Unit1.pas
--------------------------------------------------------------------------------
/Source/Project1.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r57zone/Notifications/HEAD/Source/Project1.res
--------------------------------------------------------------------------------
/Source/Icons/snapshots.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r57zone/Notifications/HEAD/Source/Icons/snapshots.png
--------------------------------------------------------------------------------
/Source/clear.bat:
--------------------------------------------------------------------------------
1 | del *.obj
2 | del *.dcu
3 | del *.~*
4 | del *.hpp
5 | del *.dcp
6 | del *.dpl
7 | del *.cesettings
8 | del *.bak
9 | --del *.exe*
--------------------------------------------------------------------------------
/Source/Project1.dpr:
--------------------------------------------------------------------------------
1 | program Project1;
2 |
3 | uses
4 | Forms,
5 | Unit1 in 'Unit1.pas' {Main};
6 |
7 | {$R *.res}
8 |
9 | begin
10 | Application.Initialize;
11 | Application.CreateForm(TMain, Main);
12 | Application.Run;
13 | end.
14 |
--------------------------------------------------------------------------------
/Source/Project1.cfg:
--------------------------------------------------------------------------------
1 | -$A8
2 | -$B-
3 | -$C+
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J-
11 | -$K-
12 | -$L+
13 | -$M-
14 | -$N+
15 | -$O+
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$YD
26 | -$Z1
27 | -cg
28 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
29 | -H+
30 | -W+
31 | -M
32 | -$M16384,1048576
33 | -K$00400000
34 | -LE"c:\programs\borland\delphi7\Projects\Bpl"
35 | -LN"c:\programs\borland\delphi7\Projects\Bpl"
36 | -w-UNSAFE_TYPE
37 | -w-UNSAFE_CODE
38 | -w-UNSAFE_CAST
39 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Public-domain software
2 |
3 | Public-domain software is software that has been placed in the public
4 | domain: in other words, there is absolutely no ownership such as
5 | copyright, trademark, or patent. Software in the public domain can be
6 | modified, distributed, or sold even without any attribution by anyone;
7 | this is unlike the common case of software under exclusive copyright,
8 | where software licenses grant limited usage rights.
9 |
10 | Программное обеспечение в общественном достоянии — программное обеспечение,
11 | которое было передано в общественное достояние, другими словами не защищается
12 | авторским правом, товарным знаком или патентом. В отличие от других классов
13 | лицензий, нет никаких ограничений относительно того, что может быть сделано
14 | с программным обеспечением. Программное обеспечение можно изменять,
15 | распространять или продавать даже без ссылки на источник.
--------------------------------------------------------------------------------
/README.RU.md:
--------------------------------------------------------------------------------
1 | [](https://github.com/r57zone/Notifications/)
2 | [](https://github.com/r57zone/Notifications/blob/master/README.RU.md)
3 | # Notifications
4 | Уведомления в стиле Windows 8 (Toast Notification) и Windows 10 для своих приложений. Совместимо с [альтернативным центром уведомлений](https://github.com/r57zone/Notification-center).
5 |
6 | ## Скриншоты
7 | 
8 | **Уведомление без иконок**
9 | 
10 | **Уведомление только с левой иконкой**
11 | 
12 | **Уведомление только с правой иконкой**
13 | 
14 | **Темы**
15 | 
16 |
17 | ## Параметры запуска
18 | >Notifications.exe -t "Заголовок" -d "Описание" -b "bigImage.png" -s "smallImage.png" -c 0
19 |
20 | Размер большой иконки слева 90 x 90 пикселей, размер маленькой 30 x 30 пикселей. Изображение нужно добавить в папку `Icons`.
21 | Цвет темы в цифрах, от 0 до 7; По умолчанию это тема 0. Светло-синий - 0, Темно-синий - 1, Сине-зеленый - 2, Зеленый - 3, Фиолетовый - 4, Темно-розовый - 5, Красный - 6, Черный - 7;
22 |
23 |
24 |
25 | Выключить звук уведомления можно добавив параметр запуска `-ds`.
26 |
27 |
28 |
29 | Также можно увеличить время уведомления добавив параметр запуска `-ms 5000`, где 5000 это количество миллисекунд до закрытия уведомления.
30 | ## Загрузка
31 | >Версия для Windows XP, 7, 8.1, 10, 11.
32 |
33 | **[Загрузить](https://github.com/r57zone/notifications/releases)**
34 |
35 | ## Обратная связь
36 | `r57zone[собака]gmail.com`
--------------------------------------------------------------------------------
/Source/Unit1.dfm:
--------------------------------------------------------------------------------
1 | object Main: TMain
2 | Left = 192
3 | Top = 125
4 | BorderStyle = bsNone
5 | Caption = 'Notification'
6 | ClientHeight = 90
7 | ClientWidth = 380
8 | Color = clBtnFace
9 | Font.Charset = DEFAULT_CHARSET
10 | Font.Color = clWindowText
11 | Font.Height = -11
12 | Font.Name = 'MS Sans Serif'
13 | Font.Style = []
14 | FormStyle = fsStayOnTop
15 | OldCreateOrder = False
16 | OnClose = FormClose
17 | OnCreate = FormCreate
18 | OnMouseDown = FormMouseDown
19 | OnPaint = FormPaint
20 | OnShow = FormShow
21 | PixelsPerInch = 96
22 | TextHeight = 13
23 | object TitleLbl: TLabel
24 | Left = 35
25 | Top = 14
26 | Width = 4
27 | Height = 21
28 | Font.Charset = RUSSIAN_CHARSET
29 | Font.Color = clWhite
30 | Font.Height = -16
31 | Font.Name = 'Segoe UI'
32 | Font.Style = [fsBold]
33 | ParentFont = False
34 | OnMouseDown = TitleLblMouseDown
35 | end
36 | object DescLbl: TLabel
37 | Left = 35
38 | Top = 35
39 | Width = 4
40 | Height = 20
41 | Font.Charset = RUSSIAN_CHARSET
42 | Font.Color = clWhite
43 | Font.Height = -15
44 | Font.Name = 'Segoe UI'
45 | Font.Style = []
46 | ParentFont = False
47 | OnMouseDown = DescLblMouseDown
48 | end
49 | object DescSubLbl: TLabel
50 | Left = 35
51 | Top = 55
52 | Width = 4
53 | Height = 20
54 | Font.Charset = RUSSIAN_CHARSET
55 | Font.Color = clWhite
56 | Font.Height = -15
57 | Font.Name = 'Segoe UI'
58 | Font.Style = []
59 | ParentFont = False
60 | OnMouseDown = DescSubLblMouseDown
61 | end
62 | object SmallIcon: TImage
63 | Left = 338
64 | Top = 50
65 | Width = 30
66 | Height = 30
67 | Center = True
68 | Visible = False
69 | end
70 | object BigIcon: TImage
71 | Left = 0
72 | Top = 0
73 | Width = 90
74 | Height = 90
75 | Center = True
76 | Visible = False
77 | OnMouseDown = BigIconMouseDown
78 | end
79 | object WaitAndClose: TTimer
80 | Enabled = False
81 | Interval = 3000
82 | OnTimer = WaitAndCloseTimer
83 | Left = 8
84 | Top = 8
85 | end
86 | end
87 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | [](https://github.com/r57zone/Notifications/)
2 | [](https://github.com/r57zone/Notifications/blob/master/README.RU.md)
3 | ← Choose language | Выберите язык
4 |
5 | # Notifications
6 | Notifications in the style of Windows 8 (Toast Notification) and Windows 10 for their applications. Compatible with [alternative center of notifications](https://github.com/r57zone/Notification-center).
7 |
8 | ## Screenshots
9 | 
10 | **Notice without icons**
11 | 
12 | **Notice only the left icon**
13 | 
14 | **Notice only on the right icon**
15 | 
16 | **Themes**
17 | 
18 |
19 | ## Launch options
20 | >Notifications.exe -t "Title" -d "Description" -b "BigImage.png" -s "SmallImage.png" -c 0
21 |
22 | The size of the large icon on the left is 90 x 90 pixels, the size of a small 30 x 30 pixels. The image needs to be added to the `Icons` folder.
23 | The theme color in numbers, from 0 to 7; The default is theme 0. Light blue - 0, Dark blue - 1, Blue-green - 2, Green - 3, Violet - 4, Dark pink - 5, Red - 6, Black - 7;
24 |
25 |
26 |
27 | Can turn off the notification sound by adding the launch parameter `-ds`.
28 |
29 |
30 |
31 | Can also increase the notification time by adding the launch parameter `-ms 5000`, where 5000 is the number of milliseconds before the notification closes.
32 | ## Download
33 | >Version for Windows XP, 7, 8.1, 10, 11.
34 |
35 | **[Download](https://github.com/r57zone/notifications/releases)**
36 |
37 | ## Feedback
38 | `r57zone[at]gmail.com`
--------------------------------------------------------------------------------
/Source/Project1.dof:
--------------------------------------------------------------------------------
1 | [FileVersion]
2 | Version=7.0
3 | [Compiler]
4 | A=8
5 | B=0
6 | C=1
7 | D=1
8 | E=0
9 | F=0
10 | G=1
11 | H=1
12 | I=1
13 | J=0
14 | K=0
15 | L=1
16 | M=0
17 | N=1
18 | O=1
19 | P=1
20 | Q=0
21 | R=0
22 | S=0
23 | T=0
24 | U=0
25 | V=1
26 | W=0
27 | X=1
28 | Y=1
29 | Z=1
30 | ShowHints=1
31 | ShowWarnings=1
32 | UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
33 | NamespacePrefix=
34 | SymbolDeprecated=1
35 | SymbolLibrary=1
36 | SymbolPlatform=1
37 | UnitLibrary=1
38 | UnitPlatform=1
39 | UnitDeprecated=1
40 | HResultCompat=1
41 | HidingMember=1
42 | HiddenVirtual=1
43 | Garbage=1
44 | BoundsError=1
45 | ZeroNilCompat=1
46 | StringConstTruncated=1
47 | ForLoopVarVarPar=1
48 | TypedConstVarPar=1
49 | AsgToTypedConst=1
50 | CaseLabelRange=1
51 | ForVariable=1
52 | ConstructingAbstract=1
53 | ComparisonFalse=1
54 | ComparisonTrue=1
55 | ComparingSignedUnsigned=1
56 | CombiningSignedUnsigned=1
57 | UnsupportedConstruct=1
58 | FileOpen=1
59 | FileOpenUnitSrc=1
60 | BadGlobalSymbol=1
61 | DuplicateConstructorDestructor=1
62 | InvalidDirective=1
63 | PackageNoLink=1
64 | PackageThreadVar=1
65 | ImplicitImport=1
66 | HPPEMITIgnored=1
67 | NoRetVal=1
68 | UseBeforeDef=1
69 | ForLoopVarUndef=1
70 | UnitNameMismatch=1
71 | NoCFGFileFound=1
72 | MessageDirective=1
73 | ImplicitVariants=1
74 | UnicodeToLocale=1
75 | LocaleToUnicode=1
76 | ImagebaseMultiple=1
77 | SuspiciousTypecast=1
78 | PrivatePropAccessor=1
79 | UnsafeType=0
80 | UnsafeCode=0
81 | UnsafeCast=0
82 | [Linker]
83 | MapFile=0
84 | OutputObjs=0
85 | ConsoleApp=1
86 | DebugInfo=0
87 | RemoteSymbols=0
88 | MinStackSize=16384
89 | MaxStackSize=1048576
90 | ImageBase=4194304
91 | ExeDescription=
92 | [Directories]
93 | OutputDir=
94 | UnitOutputDir=
95 | PackageDLLOutputDir=
96 | PackageDCPOutputDir=
97 | SearchPath=
98 | Packages=vcl;rtl;vclx;indy;inet;xmlrtl;vclie;inetdbbde;inetdbxpress;dbrtl;dsnap;dsnapcon;vcldb;soaprtl;VclSmp;dbexpress;dbxcds;inetdb;bdertl;vcldbx;webdsnap;websnap;adortl;ibxpress;teeui;teedb;tee;dss;visualclx;visualdbclx;vclactnband;vclshlctrls;IntrawebDB_50_70;Intraweb_50_70;Rave50CLX;Rave50VCL;dclOfficeXP;DCEF_D7
99 | Conditionals=
100 | DebugSourceDirs=
101 | UsePackages=0
102 | [Parameters]
103 | RunParams=
104 | HostApplication=
105 | Launcher=
106 | UseLauncher=0
107 | DebugCWD=
108 | [Language]
109 | ActiveLang=
110 | ProjectLang=
111 | RootDir=
112 | [Version Info]
113 | IncludeVerInfo=0
114 | AutoIncBuild=0
115 | MajorVer=1
116 | MinorVer=0
117 | Release=0
118 | Build=0
119 | Debug=0
120 | PreRelease=0
121 | Special=0
122 | Private=0
123 | DLL=0
124 | Locale=1049
125 | CodePage=1251
126 | [Version Info Keys]
127 | CompanyName=
128 | FileDescription=
129 | FileVersion=1.0.0.0
130 | InternalName=
131 | LegalCopyright=
132 | LegalTrademarks=
133 | OriginalFilename=
134 | ProductName=
135 | ProductVersion=1.0.0.0
136 | Comments=
137 |
--------------------------------------------------------------------------------