Mercurial > public > hwos_code
diff src/strings.inc @ 623:c40025d8e750
3.03 beta released
author | heinrichsweikamp |
---|---|
date | Mon, 03 Jun 2019 14:01:48 +0200 |
parents | ca4556fb60b9 |
children | cd58f7fc86db |
line wrap: on
line diff
--- a/src/strings.inc Wed Apr 10 10:51:07 2019 +0200 +++ b/src/strings.inc Mon Jun 03 14:01:48 2019 +0200 @@ -1,6 +1,6 @@ ;============================================================================= ; -; File strings.asm +; File strings.asm combined next generation V3.03.2 ; ; Implementation code various string functions ; @@ -144,6 +144,14 @@ DB x, y endm + IFDEF _huge_font + extern start_huge_block +WIN_HUGE macro x, y + call start_huge_block + DB x, y + endm + ENDIF + ;============================================================================= ; Shortcuts for compact display programmings ; @@ -162,6 +170,11 @@ STRCPY_TEXT_PRINT txt endm +TEXT_STD macro x, y, txt + WIN_STD x,y + STRCPY_TEXT_PRINT txt + endm + TEXT_MEDIUM macro x, y, txt WIN_MEDIUM x,y STRCPY_TEXT_PRINT txt @@ -172,6 +185,12 @@ STRCPY_TEXT_PRINT txt endm +TEXT_HUGE macro x, y, txt + WIN_HUGE x,y + STRCPY_TEXT_PRINT txt + endm + + STRING_TINY macro x, y, string WIN_SMALL x,y STRCPY_PRINT string @@ -191,3 +210,8 @@ WIN_LARGE x,y STRCPY_PRINT string endm + +STRING_HUGE macro x, y, string + WIN_HUGE x,y + STRCPY_PRINT string + endm