행위

Autoit juno okyo font이용한 아이콘 만들기

DB CAFE

Dbcafe (토론 | 기여)님의 2024년 9월 20일 (금) 00:45 판 (새 문서: == Autoit juno okyo font이용한 아이콘 만들기 == https://www.autoitscript.com/forum/topic/181997-font-icon-udf/ <source lang=autoit> #NoTrayIcon #include <GUIConstantsEx.au...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
thumb_up 추천메뉴 바로가기


Autoit juno okyo font이용한 아이콘 만들기[편집]

https://www.autoitscript.com/forum/topic/181997-font-icon-udf/

#NoTrayIcon
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

; Font Icon UDF by Juno_okyo
#include <font-icon.au3>

Opt('GUIOnEventMode', 1)
#Region ### START Koda GUI section ###
Global $FormMain = GUICreate('Font Icon for AutoIt by Juno_okyo', 355, 126, -1, -1)
GUISetFont(20, 400, 0, 'Arial')
GUISetOnEvent($GUI_EVENT_CLOSE, 'FormMainClose')
GUIStartGroup()
Global $Label1 = GUICtrlCreateLabel('Juno_okyo', 25, 42, 155, 36)
GUICtrlSetFont(-1, 24, 400, 0, 'Arial')

; See demo.html for Icon name
Global $Label2 = GUICtrlCreateLabel(Font_Icon('icon-heart'), 193, 46, 35, 36)
GUICtrlSetFont(-1, 20, 400, 0, 'juno_okyo') ; Font name
GUICtrlSetColor(-1, 0xa83f39) ; Heart color ;)

Global $Label3 = GUICtrlCreateLabel('AutoIt', 235, 42, 90, 36)
GUICtrlSetFont(-1, 24, 400, 0, 'Arial')
GUIStartGroup()
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    Sleep(100)
WEnd

Func FormMainClose()
    Exit
EndFunc