tb/Demo/demo01/ui_resources/test_image_widget.tb.txt
Michael Tesch 00933a86e9
Hb cmake cleanup (#10)
* cleanup build system, modernize cmake

* build glfw and sdl2, w/ or w/o freetype

* fix android demo build

* win32 with CPack has PACKAGE target now

* added GLEW for windows

* bump to SDL2.0.10. fixes for building as subdir

* constexpr is always available these days.

* cleanup getwd() warning. add rpm to ubuntu packages

* dont use add_compile_definitions() for cmake, too new

* add rpm package to travis

* gh release packages

* build demo target on windows

* see if defines not working on winsodw
2019-11-12 15:45:00 +01:00

34 lines
1.9 KiB
Plaintext

WindowInfo
title TBImageWidget
size 350 500
TBScrollContainer
adapt-content 1
TBLayout
axis y
spacing 20
TBEditField: gravity: all, skin: 0, multiline: 1, readonly: 1, adapt-to-content: 1
text: "Some images shown by TBImageWidget. This test requires enabling TB_IMAGE (see tb_config.h).\n" \
"Images are unloaded when all references are removed (this window is closed)."
TBImageWidget: filename: "demo01/images/image_1.png", skin: ImageFrame
TBButton: skin: "Remove", id: "remove", gravity: right
TBImageWidget: filename: "demo01/images/image_2.png", skin: ImageFrame
TBButton: skin: "Remove", id: "remove", gravity: right
TBImageWidget: filename: "demo01/images/image_3.png", skin: ImageFrame
TBButton: skin: "Remove", id: "remove", gravity: right
TBImageWidget: filename: "demo01/images/image_4.png", skin: ImageFrame
TBButton: skin: "Remove", id: "remove", gravity: right
TBImageWidget: filename: "demo01/images/image_5.png", skin: ImageFrame
TBButton: skin: "Remove", id: "remove", gravity: right
TBImageWidget: filename: "demo01/images/image_6.png", skin: ImageFrame
TBButton: skin: "Remove", id: "remove", gravity: right
TBTextField: skin: "ImageCaption", text: "Öland", gravity: bottom left right
TBImageWidget: filename: "demo01/images/image_7.png", skin: ImageFrame
TBButton: skin: "Remove", id: "remove", gravity: right
TBTextField: skin: "ImageCaption", text: "Öland", gravity: bottom left right
TBImageWidget: filename: "demo01/images/image_8.png", skin: ImageFrame
TBButton: skin: "Remove", id: "remove", gravity: right
TBTextField: skin: "ImageCaption", text: "Örebro", gravity: bottom left right
TBImageWidget: filename: "demo01/images/image_9.png", skin: ImageFrame
TBButton: skin: "Remove", id: "remove", gravity: right
TBTextField: skin: "ImageCaption", text: "Stockholm", gravity: bottom left right