mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
info: add more ui boilerplate and fixme comments
This commit is contained in:
parent
2448bf8b80
commit
76fb0eafff
1 changed files with 10 additions and 1 deletions
|
@ -38,17 +38,26 @@ public class MediaInfo.Info : VBox
|
||||||
|
|
||||||
public Info ()
|
public Info ()
|
||||||
{
|
{
|
||||||
|
Label label;
|
||||||
|
|
||||||
// configure the view
|
// configure the view
|
||||||
set_homogeneous (false);
|
set_homogeneous (false);
|
||||||
|
|
||||||
// add widgets
|
// add widgets
|
||||||
|
// FIXME: handle aspect ration (AspectFrame.ratio)
|
||||||
|
// FIXME: paint it black from the start
|
||||||
drawing_area = new DrawingArea ();
|
drawing_area = new DrawingArea ();
|
||||||
drawing_area.set_size_request (300, 150);
|
drawing_area.set_size_request (300, 150);
|
||||||
pack_start (drawing_area, true, true, 0);
|
pack_start (drawing_area, true, true, 0);
|
||||||
|
|
||||||
uri = new Label ("");
|
// FIXME: some alignment issues with the strings
|
||||||
|
uri = new Label (null);
|
||||||
pack_start (uri, false, false, 0);
|
pack_start (uri, false, false, 0);
|
||||||
|
|
||||||
|
label = new Label (null);
|
||||||
|
label.set_markup("<b>Container</b>");
|
||||||
|
pack_start (label, false, false, 0);
|
||||||
|
|
||||||
show_all ();
|
show_all ();
|
||||||
|
|
||||||
// set up the gstreamer components
|
// set up the gstreamer components
|
||||||
|
|
Loading…
Reference in a new issue