Changeset 400a16d in mainline for uspace/app/gfxdemo/gfxdemo.c
- Timestamp:
- 2021-09-03T09:27:57Z (3 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 81d3612
- Parents:
- f7c12b3
- git-author:
- Jiri Svoboda <jiri@…> (2021-09-02 17:26:05)
- git-committer:
- Jiri Svoboda <jiri@…> (2021-09-03 09:27:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/gfxdemo/gfxdemo.c
rf7c12b3 r400a16d 706 706 goto error; 707 707 708 pos.x = rect.p1.x - 1;708 pos.x = rect.p1.x; 709 709 pos.y = rect.p0.y; 710 710 fmt.halign = gfx_halign_right; … … 729 729 goto error; 730 730 731 pos.x = rect.p1.x - 1;731 pos.x = rect.p1.x; 732 732 pos.y = (rect.p0.y + rect.p1.y - 1) / 2; 733 733 fmt.halign = gfx_halign_right; … … 746 746 747 747 pos.x = (rect.p0.x + rect.p1.x - 1) / 2; 748 pos.y = rect.p1.y - 1;748 pos.y = rect.p1.y; 749 749 fmt.halign = gfx_halign_center; 750 750 rc = gfx_puttext(font, &pos, &fmt, "Bottom center"); … … 752 752 goto error; 753 753 754 pos.x = rect.p1.x - 1;755 pos.y = rect.p1.y - 1;754 pos.x = rect.p1.x; 755 pos.y = rect.p1.y; 756 756 fmt.halign = gfx_halign_right; 757 757 rc = gfx_puttext(font, &pos, &fmt, "Bottom right");
Note:
See TracChangeset
for help on using the changeset viewer.