path: root/data/camorama-gtk3.ui
AgeCommit message (Collapse)AuthorFilesLines
2021-04-08add support for full screen modeMauro Carvalho Chehab1-1/+79
Nowadays, there are several UVC devices that can be used to capture HDMI images. Those could be used, for instance, to display a console from another machine. On such case, it can be interesting to use as little as possible of the screen, in order to maximize the screen. Let's implement a full screen mode that will disable everything but the top menu, and place the application in full screen mode. As this depends on a proper scaling support, only enable it with Gtk3. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-03-30Allow expanding the window with Gtk3Mauro Carvalho Chehab1-13/+17
It is nice to be able to expand the window in real time. Add support for it with Gtk3. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2018-12-23Add zoom controlMauro Carvalho Chehab1-9/+51
The icon was imported from gnome icon set (https://github.com/GNOME/gnome-icon-theme) before changeset e4fc9dade2d6411173bb84c0f1064eeac0b6a5fb, to ensure that it matches the license of camorama project (GPL 2). Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-21Place the new "Change Camera" option before resolution settingsMauro Carvalho Chehab1-0/+9
Instead of placing it together with the resolution changes, after the separator, add it earlier. With that, it now will remain at the same place after switching between cameras. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-21Add a dialog to optionally select the video deviceMauro Carvalho Chehab1-1/+81
The first time camorama is started, or if it doesn't find the previously used camera, it will now open a dialog allowing the user to choose the camera. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-07camorama-gtk3: explicitly use the obsoleted GtkImageMenuItemMauro Carvalho Chehab1-22/+35
The Gtk 3 manual says it would be possible to use a GtkBox with a GtkLabel and GtkImage in order to replace it. I tried, both directly and using Glade 3.22. Didn't work. So, let's explicitly revert this change, as it makes Camorama with a bad visual (IMHO). We'll still need some solution if we want to preserve icons on menus for Gtk 4, but that's a separate issue. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-07Get rid of obsolete Gtk3 widgetsMauro Carvalho Chehab1-730/+680
On Gtk3, several Widgets got obsoleted, being replaced by a different wigdet. The only exception is the GtkImageMenu item, that were simply removed, without any replacement. It seems that now it is not possible anymore (or at least it is not trivial) to associate a MenuItem with an image. Anyway, as those widgets don't exist anymore on Gtk4, we'll need to replace them anyway. The new camorama-gtk3.ui now validates with Glade 3.22. It should not work with gtk2, so, at least while we keep backport compatibility, let's have both schemas. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-06Allow having different UIs depending on Gtk versionMauro Carvalho Chehab1-0/+1813
On Gtk3, several Widgets got obsoleted, being replaced by a different wigdet. For now, keep both gtk2 and gtk3 versions identical, e. g.: copied: camorama.ui -> camorama-gtk3.ui renamed: camorama.ui -> camorama-gtk2.ui The next patch will replace the obsolete widgets. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

Privacy Policy