@@ -7,12 +7,13 @@ An extended method for changing a button's background color.
77## Features
88- Easily change a button's background color.
99- Automatically set the text colour to white or black depends on the background colour.
10- - Compatible with [ AutoHotkey v2.1-alpha.9] ( https://github.com/AutoHotkey/AutoHotkeyDocs/tree/alpha ) or later.
10+ - Compatible with [ AutoHotkey v2.1-alpha.9] ( https://github.com/AutoHotkey/AutoHotkeyDocs/tree/alpha ) or later. ** (Update: v2.0 is now supported too.) **
1111- Learn more about the ahk v2.1-alpha: [ Click here] ( https://github.com/AutoHotkey/AutoHotkeyDocs/tree/alpha )
1212
1313## Demo
1414** On Windows 11**
15- ![ colorButton_win11_demo] ( https://github.com/nperovic/ColorButton.ahk/assets/122501303/567a8145-c7c3-4800-9210-613b3bdc2f71 )
15+ ![ colorButton_win11_demo_new] ( https://github.com/nperovic/ColorButton.ahk/assets/122501303/b4d4f274-5605-48d7-95e4-efcde768f4af )
16+
1617
1718** On Windows 10**
1819![ colorButton_win10_demo] ( https://github.com/nperovic/ColorButton.ahk/assets/122501303/63c20602-b45d-4030-93a9-0a258c70acb4 )
@@ -39,7 +40,7 @@ myBtn.SetBackColor(btnBgColor, colorBehindBtn?, roundedCorner?)
3940
4041### Basic Button
4142` ` ` py
42- #requires AutoHotkey v2. 1 - alpha. 9
43+ #requires AutoHotkey v2
4344#include < ColorButton>
4445
4546myGui : = Gui ()
@@ -67,11 +68,11 @@ This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md
6768## 特點
6869- 輕鬆更改按鈕的背景顏色。
6970- 自動根據背景色彩的深淺設定文字色彩 (深色背景+白色文字或淺色背景+黑色文字)。
70- - 支援 AutoHotkey v2.1-alpha.9 或更高版本。
71+ - 支援 AutoHotkey v2.0 或更高版本。
7172- 想知道更多關於 [ahk v2.1-alpha](https://github.com/AutoHotkey/AutoHotkeyDocs/tree/alpha) 的資訊,請按[這裡](https://github.com/AutoHotkey/AutoHotkeyDocs/tree/alpha)。
7273
7374**在 Windows 11 上**
74- 
75+ 
7576
7677**在 Windows 10 上**
7778
@@ -97,7 +98,7 @@ myBtn.SetBackColor(btnBgColor, colorBehindBtn?, roundedCorner?)
9798
9899### 基本按鈕
99100` ` ` py
100- #requires AutoHotkey v2. 1 - alpha. 9
101+ #requires AutoHotkey v2
101102#include < ColorButton>
102103
103104myGui : = Gui ()
@@ -125,12 +126,12 @@ Proširena metoda za promenu boje pozadine dugmeta.
125126
126127## Karakteristike
127128- Lako promenite boju pozadine dugmeta.
128- - Kompatibilno sa AutoHotkey [ v2.1-alpha.9](https://github.com/AutoHotkey/AutoHotkeyDocs/tree/alpha) ili novijim verzijama.
129+ - Kompatibilno sa AutoHotkey v2.0 ili novijim verzijama.
129130- Saznajte više o ahk v2.1-alpha: [Kliknite ovde](https://github.com/AutoHotkey/AutoHotkeyDocs/tree/alpha)
130131
131132## Demo
132133**Na Windows 11**
133- 
134+ 
134135
135136**Na Windows 10**
136137
@@ -143,7 +144,7 @@ Proširena metoda za promenu boje pozadine dugmeta.
143144
144145## Primer
145146` ` ` py
146- #requires AutoHotkey v2. 1 - alpha. 9
147+ #requires AutoHotkey v2
147148#include < ColorButton>
148149
149150myGui := Gui ()
0 commit comments