Autoit juno okyo font이용한 아이콘 만들기
DB CAFE
thumb_up 추천메뉴 바로가기
- DBA { Oracle DBA 명령어 > DBA 초급 과정 > DBA 고급 과정 }
- 튜닝 { 오라클 튜닝 목록 }
- 모델링 { 데이터 모델링 가이드 }
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