Skocz do zawartości

Dołącz do społeczności!

👋 Witaj na MPCForum!

Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

  • ✅ Pełny dostęp do działów i ukrytych treści
  • ✅ Możliwość pisania i odpowiadania w tematach
  • ✅ System prywatnych wiadomości
  • ✅ Zbieranie reputacji i rozwijanie swojego profilu
  • ✅ Członkostwo w jednej z największych społeczności graczy

👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

Zarejestruj się teraz

Multum pytań zaawansowanego skryptera

Rekomendowane odpowiedzi

Opublikowano

1. Rotowanie obrazka w czasie rzeczywistym.

 

Jak rotować obrazek w gui?

Próbowałem użyć _GDIPLUS_MatrixRotate, i wiele innych, lecz proszę was o example'a

 

2. Rotowanie klawiszem

 

Chciałbym użyć strzałek aby rotować obrazkiem, nie używająć _IsPressed ani o ile się da HotKeySet()

Próbowałem wykonać to GuiRegisterMsg lecz działa tylko w wypadku pustego gui.

 

3. Obrazek i kolory...

 

Jak zrobić że w obrazku 56x56 każdy piksel o zielonym jednolitym odcieniu jest oznaczony jako np. $przykład[1-x]

(każdy kolejny to o 1 więcej w tablicy)

 

4. Zapis kąta...

 

Jeśli obrócę obrazek to jest możliwość sczytania jaki ma kąt odchylenia od pierwotnego stanu?

 

5. Przeźroczystoś definiowalna kolorem czarnym

 

Czy da się zrobić aby w .bmp kolor czarny był zastępowany w skrypcie jako przeźroczystość?

 

Wszystkie pytania są powiązane ;]

Za każdą odpowiedź będzie repka + pamięć o pomocy ;]

Opublikowano
  • Autor

1 (& 2?). Spróbuj ogarnąć to:

Hipnotyczne Gdi Plus

 

Chyba ty sam nie ogarniasz...

 

Takich exampli widziałem miliony, nie tyczy się to w najmniejszym stopniu do moich pytać (jedyne czym się łączy to 7 znaków)

 

Dzięki chociaż za "chęć" pomocy ;]

Opublikowano

jemu chodzi o obrazek a nie o linie.

 

1. może się nie dać w gdiplus piszesz, że się nie za pomocą _GDIPlus_MatrixRotate, a wręcz przeciwnie.

@edit, lekko przerobiony przyklad z helpa

#AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6
#include <GDIPlus.au3>
#include <ScreenCapture.au3>
#include <WinAPI.au3>

Opt('MustDeclareVars', 1)

_Main()

Func _Main()
Local $hBitmap1, $hBitmap2, $hImage1, $hImage2, $hGraphic, $width, $height

; Initialize GDI+ library
_GDIPlus_Startup()
global $hwnd = GUICreate('')
$hGraphic = _GDIPlus_GraphicsCreateFromHWND($hwnd)
guisetstate()
; Capture full screen
$hBitmap1 = _ScreenCapture_Capture("")
$hImage1 = _GDIPlus_BitmapCreateFromHBITMAP($hBitmap1)

; Capture screen region
$hBitmap2 = _ScreenCapture_Capture("", 0, 0, 400, 300)
$hImage2 = _GDIPlus_BitmapCreateFromHBITMAP($hBitmap2)

$width = _GDIPlus_ImageGetWidth($hImage2)
$height = _GDIPlus_ImageGetHeight($hImage2)
DrawInsert($hGraphic, $hImage2, 310, 30, 35, $width + 4, $height + 4, 0xFFFF00FF, 4)
_GDIPlus_Shutdown()
EndFunc   ;==>_Main

Func DrawInsert($hGraphic, $hImage2, $iX, $iY, $nAngle, $iWidth, $iHeight, $iARGB = 0xFF000000, $nWidth = 1)
Local $hMatrix, $hPen2

$hMatrix = _GDIPlus_MatrixCreate()
_GDIPlus_MatrixRotate($hMatrix, $nAngle, "False")
_GDIPlus_GraphicsSetTransform($hGraphic, $hMatrix)

_GDIPlus_GraphicsDrawImage($hGraphic, $hImage2, $iX, $iY)

Return 1
EndFunc   ;==>DrawInsert
while 1
wend

3. w bibliotece gdi+ jest funkcja getpixel, przejedź cały obrazek i zapisuj po kolei do tablicy, nie jest ona zawarta w gdiplus.au3 wiec musisz uzyć dllcall, w gotowych skryptach, aggr użył jej do jakiegoś programu, poszukaj.

4. Skoro byś obracał o dany kąt to byś chyba wiedział o ile obróciłeś, co?

5. Nie, możesz co najwyżej użyć png.

Edytowane przez Sopelek997

Opublikowano

1.

2.Obrazkiem poruszasz za pomocą 'a' i 's' :)

#include <GDIPlus.au3>

HotKeySet("a", "plus")
HotKeySet("s", "minus")

_GDIPlus_Startup()

$hGUI = GUICreate("aaa", 100, 100);
GUISetState()

$hGraphic = _GDIPlus_GraphicsCreateFromHWND($hGUI)

$kat = 120
$last_kat = $kat

$hMatrix = _GDIPlus_MatrixCreate()
_GDIPlus_MatrixTranslate($hMatrix, 25, 25)

Do
if $kat <> $last_kat Then
	$last_kat = $kat
	_GDIPlus_GraphicsClear($hGraphic, 0xffffffff)
	_GDIPlus_MatrixRotate($hMatrix, $kat)
	_GDIPlus_GraphicsSetTransform($hGraphic, $hMatrix)
	_GDIPlus_GraphicsFillRect($hGraphic, (-50/2), (-50/2), 50, 50)
EndIf
Until GUIGetMsg() = -3

_GDIPlus_MatrixDispose($hMatrix)
_GDIPlus_GraphicsDispose($hGraphic)

_GDIPlus_Shutdown()

Func plus()
$kat+=1
EndFunc

Func minus()
$kat-=1
EndFunc

 

3.Jeśli kolor jest zielony, to wartość w tabelce = 1

#include <GDIPlus.au3>

Global $tablica[56][56]

for $i = 0 To 55
for $a = 0 To 55
	$tablica[$i][$a] = 0
Next
Next

_GDIPlus_Startup()

$hImage = _GDIPlus_ImageLoadFromFile("aaa.bmp")

for $i = 0 To 55
for $a = 0 To 55
	if GDIPlus_BitmapGetPixel($hImage, $i, $a) = "0xFF00FF00" Then $tablica[$i][$a] = 1
Next
Next

for $i = 0 To 55
for $a = 0 To 55
	ConsoleWrite($tablica[$i][$a] & " ")
Next
ConsoleWrite(@CRLF)
Next

Func GDIPlus_BitmapGetPixel($hBitmap, $iX, $iY)
   Local $tArgb, $pArgb, $aRet
   $tArgb = DllStructCreate("dword Argb")
   $pArgb = DllStructGetPtr($tArgb)
   $aRet = DllCall($ghGDIPDll, "int", "GdipBitmapGetPixel", "hwnd", $hBitmap, "int", $iX, "int", $iY, "ptr", $pArgb)
   Return "0x" & Hex(DllStructGetData($tArgb, "Argb"))
EndFunc   ;==>GDIPlus_BitmapGetPixel

 

4.Przy obracaniu obrazka o jakiś kąt zapisz go do zmiennej :)

5.$szer i $wys to rozmiary obrazka:

For $x = 0 to $szer-1
for $y = 0 to $wys-1
	if GDIPlus_BitmapGetPixel($hImage, $x, $y) = "0xFF000000" Then GDIPlus_BitmapSetPixel($hImage, $x, $y, 0x00000000)
Next
Next

Func GDIPlus_BitmapGetPixel($hBitmap, $iX, $iY)
   Local $tArgb, $pArgb, $aRet
   $tArgb = DllStructCreate("dword Argb")
   $pArgb = DllStructGetPtr($tArgb)
   $aRet = DllCall($ghGDIPDll, "int", "GdipBitmapGetPixel", "hwnd", $hBitmap, "int", $iX, "int", $iY, "ptr", $pArgb)
   Return "0x" & Hex(DllStructGetData($tArgb, "Argb"))
EndFunc

Func GDIPlus_BitmapSetPixel($hBitmap, $iX, $iY, $iArgb)
   Local $aRet
   $aRet = DllCall($ghGDIPDll, "int", "GdipBitmapSetPixel", "hwnd", $hBitmap, "int", $iX, "int", $iY, "dword", $iArgb)
   Return
EndFunc

Opublikowano

1. Rotowanie obrazka w czasie rzeczywistym.

 

Example masz w helpie.

 

2. Rotowanie klawiszem

 

http://msdn.microsoft.com/en-us/library/ms644959(v=vs.85).aspx#wh_keyboardhook

Jedyny sposób.

 

3. Obrazek i kolory...

 

GetDIBits do tablicy.

 

4. Zapis kąta...

 

Raczej będzie ciężko, ale możesz sobie zapisywać o jaki kąt obracasz.

 

5. Przeźroczystoś definiowalna kolorem czarnym

 

Format .bmp nie obsługuje kanału alfa.

Ta sygnatura jest pusta.

Opublikowano

@4ggr

Ale on chciał chyba wczytać z pliku bmp obrazek i żeby w skrypcie czarne kolory były zastępowane przezroczystością :)

Opublikowano

Dobra wszyscy dostali odemnie repkę kilka dni temu.

 

Kolejna porcja pytań:

 

Jak zapisać grafikę w taki sposób?

 

tncm.jpg

 

2. Dlaczego podczas rotowania obrazka od hfaua raz jest szybciej a raz wolniej (nawet jak dam duże sleepy)

 

3. Jak zwiększyć FPS objektów 3d

 

4 Czy da się zrobić coś takiego jak bufforowanie objektów (wyjaśnię poniżej)

 

5. Wolne odświeżanie - czyli połączenie punktów wyzej

 

Otóż mój skrypt z 2 kostkami przy FPS = 20 strasznie mruga niebieska kostka

 

lyyz.jpg

 

A różowa działa pięknie... czym to jest spowodowane? da się jakoś bufforować kostkę żeby potem szybciej się wyświetliła?

Takie 5 klatek w przód aby nie mrugało ;(

 

Kolejne porcje później ;]

 

@Edit znalazłem małego orta xD

Edytowane przez xenex_rep_bannd

Opublikowano
;coded by UEZ 2010
#AutoIt3Wrapper_UseX64=n
#AutoIt3Wrapper_Change2CUI=n
#AutoIt3Wrapper_Res_Description=Converter between integer <=> binary
#AutoIt3Wrapper_Res_Fileversion=1.0
#AutoIt3Wrapper_Res_Language=1033
#AutoIt3Wrapper_Res_LegalCopyright=UEZ 2010
#AutoIt3Wrapper_Res_Field=Coded by|UEZ
#AutoIt3Wrapper_Res_Field=Build|2010-11-29
#AutoIt3Wrapper_Res_Field=Compile date|%longdate% %time%
#AutoIt3Wrapper_Res_Field=AutoIt Version|%AutoItVer%
#AutoIt3Wrapper_Run_Obfuscator=y
#Obfuscator_Parameters=/sf /sv /om /cs=0 /cn=0
#AutoIt3Wrapper_Res_SaveSource=n
#AutoIt3Wrapper_UseUpx=y
#AutoIt3Wrapper_UPX_Parameters=--ultra-brute
#AutoIt3Wrapper_Run_After=del /f /q "%scriptdir%\%scriptfile%_Obfuscated.au3"

#include <ButtonConstants.au3>
#include <Constants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <String.au3>
#include <StaticConstants.au3>
#include <WinAPI.au3>
#include <WindowsConstants.au3>

#Region
$title = "Integer <=> Binary Converter by UEZ "
$ver = " v1.0 Build 2010-11-29"
$hWnd = GUICreate($title & $ver, 625, 336)

$MenuItem1 = GUICtrlCreateMenu("Help")
$MenuItem2 = GUICtrlCreateMenuItem("About", $MenuItem1)
$MenuItem4 = GUICtrlCreateMenuItem("Exit", $MenuItem1)

$Input = GUICtrlCreateInput("", 104, 144, 203, 30)
GUICtrlSetTip($Input , "Enter here an integer number up to 15 digits to convert it to binary on-the-fly!")
$fsize = 16
GUICtrlSetFont(-1, $fsize, 400, 0, "Times New Roman")
GUICtrlSetLimit($Input, 15)

#Region Caret (Cursor) ;thanks to Yashied
$hInput1 = GUICtrlGetHandle($Input)
$cursor_size_x = $fsize
$cursor_size_y = 23

$tIcon = DllStructCreate("hwnd")
$tID = DllStructCreate("hwnd")
$sIcon = @SystemDir & "\shell32.dll"
$max_icons = _WinAPI_ExtractIconEx($sIcon, -1, 0, 0, 0)
$iBackground = 0xFFFFFF
$iIndex = 130 ;should be the butterfly icon
;~ $iIndex = Random(0, $max_icons, 1)
DllCall("user32.dll", "int", "PrivateExtractIcons", "str", $sIcon, "int", $iIndex, "int", $cursor_size_x, "int", $cursor_size_y, "ptr", DllStructGetPtr($tIcon), "ptr", DllStructGetPtr($tID), "int", 1, "int", 0)
$hIcon = DllStructGetData($tIcon, 1)
$hDC = _WinAPI_GetDC(0)
$hBackDC = _WinAPI_CreateCompatibleDC($hDC)
$hBitmap = _WinAPI_CreateSolidBitmap($hWnd, 0xFFFFFF - $iBackground, $cursor_size_x, $cursor_size_y)
$hBackSv = _WinAPI_SelectObject($hBackDC, $hBitmap)
$hFrontDC = _WinAPI_CreateCompatibleDC($hDC)
$hInv = _WinAPI_CreateSolidBitmap($hWnd, $iBackground, $cursor_size_x, $cursor_size_y)
$hFrontSv = _WinAPI_SelectObject($hFrontDC, $hInv)

_WinAPI_DrawIconEx($hFrontDC, 0, 0, $hIcon, 0, 0, 0, 0, $DI_NORMAL)
_WinAPI_BitBlt($hBackDC, 0, 0, $cursor_size_x, $cursor_size_y, $hFrontDC, 0, 0, $NOTSRCCOPY) ;invert icon color
_WinAPI_SelectObject($hFrontDC, $hFrontSv)
_WinAPI_SelectObject($hBackDC, $hBackSv)
_WinAPI_ReleaseDC($hWnd, $hDC)
_WinAPI_DeleteDC($hFrontDC)
_WinAPI_DeleteDC($hBackDC)
_WinAPI_DeleteObject($hIcon)
_WinAPI_DeleteObject($hInv)

$pHook = DllCallbackRegister("_WM_CARET", "ptr", "hwnd;uint;long;ptr")
$hProc = _WinAPI_SetWindowLong($hInput1, $GWL_WNDPROC, DllCallbackGetPtr($pHook))
$BlinkTime_save = DllCall('user32.dll', 'int', 'GetCaretBlinkTime')
$BlinkTime = Int($BlinkTime_save[0] / 2) ;-1 -> no blinking cursor
#EndRegion

$Edit = GUICtrlCreateEdit("", 104, 200, 345, 89, $ES_NOHIDESEL + $ES_LEFT)
GUICtrlSetLimit($Edit, 64)
GUICtrlSetTip($Edit , "Enter here a binary number up to 52 digits to convert it to integer on-the-fly!")
GUICtrlSetFont($Edit, 56, 400, 0, "Arial")

$LabelS = GUICtrlCreateLabel("Integer <=> Binary Converter", 17, 34, 595, 65)
GUICtrlSetColor(-1, 0x101040) ;RGB
GUICtrlSetFont(-1, 36, 700, 2, "Times New Roman")
$Label1 = GUICtrlCreateLabel("Integer <=> Binary Converter", 14, 35, 595, 65)
GUICtrlSetBkColor(-1, -2)
GUICtrlSetFont($Label1, 36, 700, 2, "Times New Roman")
GUICtrlSetColor(-1, 0x5080F0)

$Group1 = GUICtrlCreateGroup("", 8, 16, 609, 89)
GUICtrlCreateGroup("", -99, -99, 1, 1)

$Group2 = GUICtrlCreateGroup("UEZ 2010", 8, 120, 609, 185, $BS_RIGHT)
GUICtrlSetFont(-1, 6, 400, 0, "Times New Roman")
GUICtrlCreateGroup("", -99, -99, 1, 1)

$Label2 = GUICtrlCreateLabel("Integer:", 54, 146, 44, 24)
GUICtrlSetFont(-1, 12, 400, 0, "Times New Roman")

$Label3 = GUICtrlCreateLabel("Binary:", 56, 204, 44, 30)
GUICtrlSetFont(-1, 12, 400, 0, "Times New Roman")

$Label4 = GUICtrlCreateLabel("Hex: 0", 460, 204, 150, 30)
GUICtrlSetFont(-1, 12, 400, 0, "Times New Roman")
GUICtrlSetTip($Label4, "To hex number conversation")

$Label5 = GUICtrlCreateLabel("Oct: 0", 460, 224, 150, 40)
GUICtrlSetFont(-1, 12, 400, 0, "Times New Roman")
GUICtrlSetTip($Label5, "To octal number conversation")

$Button1 = GUICtrlCreateButton("Exit", 536, 264, 75, 25)
$Button2 = GUICtrlCreateButton("Clipboard", 456, 264, 75, 25)
GUICtrlSetTip($Button2 , "Press Clipboard to get binary number copied to clipboard")
$Button3 = GUICtrlCreateButton("Clipboard", 314, 146, 75, 25)
GUICtrlSetTip($Button3 , "Press Clipboard to get integer number copied to clipboard")

GUISetState(@SW_SHOW)
GUIRegisterMsg($WM_COMMAND, '_WM_COMMAND')
#EndRegion

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
	Case $GUI_EVENT_CLOSE, $Button1, $MenuItem4
		DllCall('user32.dll', 'int', 'SetCaretBlinkTime', 'uint', $BlinkTime_save[0])
		_WinAPI_SetWindowLong($hInput1, $GWL_WNDPROC, $hProc)
		DllCallbackFree($pHook)
		GUIRegisterMsg($WM_COMMAND, "")
		GUIDelete($hWnd)
		Exit
	Case $Button2
		ClipPut(StringRegExpReplace(GUICtrlRead($Edit), "[' ']", ""))
		MsgBox(64, "Clipboard", "Binary number copied to clipboard", 10)
	Case $Button3
		ClipPut(GUICtrlRead($Input))
		MsgBox(64, "Clipboard", "Integer number copied to clipboard", 10)
	Case $MenuItem2
		MsgBox(0, $title, $title & $ver & @CRLF & @CRLF & "Thanks to Yashied for the caret code ;-)"& @CRLF & @CRLF & @CRLF & "Br," & @CRLF & "UEZ", 30)
EndSwitch
WEnd

Func Integer2Binary($in)
Local $bin
While $in > 0
	$bin &= Mod($in, 2)
	$in = Floor($in / 2)
;~ 		$in = BitShift($in, 1)
WEnd
Return(_StringReverse($bin))
EndFunc

Func Binary2Integer($in)
Local $int, $x, $i = 1, $aTmp = StringSplit(_StringReverse($in), "")
For $x = 1 To UBound($aTmp) - 1
	$int += $aTmp[$x] * $i
	$i *= 2
Next
$aTmp = 0
Return StringFormat('%.0f' ,$int)
EndFunc

Func Integer2Hex($in)
Local $aHex[16] = [0, 1, 2 ,3 ,4, 5 ,6 ,7 ,8, 9, "A", "B", "C", "D", "E", "F"]
Local $hex
While 1
	$hex &= $aHex[Mod($in, 0x10)]
	$in = Floor($in / 0x10)
	If Not $in Then ExitLoop
WEnd
Return _StringReverse($hex)
EndFunc

Func Integer2Octal($in)
Local $oct, $t, $r
While 1
	$oct &= Mod($in, 0x8)
	$in = Floor($in / 0x8)
	If Not $in Then ExitLoop
WEnd
Return _StringReverse($oct)
EndFunc

Func _WM_COMMAND($hWnd, $Msg, $wParam, $lParam)
Local $inp, $integer, $chk, $b, $c, $sLen, $int2

$chk = BitAND($wParam, 0x0000FFFF)
Switch $chk
	Case $Input
		$inp = GUICtrlRead($Input)
		$integer = StringRegExpReplace($inp, "[^0-9]", "")
		GUICtrlSetData($Label4, "Hex: " & Integer2Hex($integer))
		GUICtrlSetData($Label5, "Oct: " & Integer2Octal($integer))
		GUICtrlSetData($Input, $integer)
		$b = Integer2Binary(Number($integer))
		$c = _StringReverse(StringRegExpReplace(_StringReverse($, ".{1,4}", " $0"))
		GUICtrlSetData($Edit, StringLeft($c, StringLen($c) - 1))
		$sLen = StringLen(GUICtrlRead($Edit))
		Switch $sLen
			Case 0 To 4
				GUICtrlSetFont($Edit, 56, 400, 0, "Arial")
			Case 5 To 8
				GUICtrlSetFont($Edit, 48, 400, 0, "Arial")
			Case 9 To 12
				GUICtrlSetFont($Edit, 32, 400, 0, "Arial")
			Case 13 To 16
				GUICtrlSetFont($Edit, 28, 400, 0, "Arial")
			Case 17 To 32
				GUICtrlSetFont($Edit, 24, 400, 0, "Arial")
			Case 33 To 50
				GUICtrlSetFont($Edit, 18, 400, 0, "Arial")
		EndSwitch
	Case $Edit
		$inp = GUICtrlRead($Edit)
		$b = StringRegExpReplace($inp, "[^0-1]", "")
		$c = _StringReverse(StringRegExpReplace(_StringReverse($, ".{1,4}", " $0"))
		GUICtrlSetData($Edit, StringLeft($c, StringLen($c) - 1))
		$int2 = Binary2Integer(String($)
		GUICtrlSetData($Input, $int2)
		GUICtrlSetData($Label4, "Hex: " & Integer2Hex($int2))
		GUICtrlSetData($Label5, "Oct: " & Integer2Octal($int2))
		$sLen = StringLen(GUICtrlRead($Edit))
		Switch $sLen
			Case 0 To 6
				GUICtrlSetFont($Edit, 56, 400, 0, "Arial")
			Case 7 To 12
				GUICtrlSetFont($Edit, 32, 400, 0, "Arial")
			Case 13 To 31
				GUICtrlSetFont($Edit, 24, 400, 0, "Arial")
			Case 32 To 50
				GUICtrlSetFont($Edit, 18, 400, 0, "Arial")
		EndSwitch
EndSwitch
   Return $GUI_RUNDEFMSG
EndFunc

Func _WM_CARET($hWnd, $uiMsg, $wParam, $lParam)
Local $Res = _WinAPI_CallWindowProc($hProc, $hWnd, $uiMsg, $wParam, $lParam)

Switch $uiMsg
	Case $WM_SETFOCUS
		DllCall('user32.dll', 'int', 'CreateCaret', 'hwnd', $hWnd, 'ptr', $hBitmap, 'int', 0, 'int', 0)
		DllCall('user32.dll', 'int', 'ShowCaret', 'hwnd', $hWnd)
		DllCall('user32.dll', 'int', 'SetCaretBlinkTime', 'uint', $BlinkTime)
	Case $WM_KILLFOCUS
		DllCall('user32.dll', 'int', 'HideCaret', 'hwnd', $hWnd)
		DllCall('user32.dll', 'int', 'DestroyCaret')
		DllCall('user32.dll', 'int', 'SetCaretBlinkTime', 'uint', $BlinkTime_save[0])
EndSwitch

Return $Res
EndFunc   ;==>_WM_CARET

Opublikowano

przecież chciałeś przerobić grafike z obrazka na binarny zapis to dostałeś

If you = stupid then

insert(foot.in.your.ass)

end if

licznik-54-96732-stat.png

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Konto

Nawigacja

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.