1. 30 Sep, 2020 1 commit
    • Alexander Larsson's avatar
      gtk-demo: Make gltransitions demo a bit snazzier · e9885f9c
      Alexander Larsson authored
      This adds a bunch of snazz to the gltransitions demo. It is perhaps
      a bit overloaded now, but it demos everything that we can do.
      
      Changes:
       * The fire shader is now not a bin, it just renders an animating
         background with no textures involved.
       * The stacks don't all start on the same page.
       * The shaderbin passes the mouse coordinate to the shader.
       * The shaderbin allows specifying a "border" so that you can
         cause effects outside the bin child (something that is new to gtk4).
       * All the buttons and the stacks are now in shader-bins that runs
         a wobbly-widget effect based on the mouse position that
         wobbles outside the child allocation.
      e9885f9c
  2. 29 Sep, 2020 3 commits
  3. 21 Sep, 2020 1 commit
  4. 19 Sep, 2020 1 commit
  5. 18 Sep, 2020 1 commit
  6. 17 Sep, 2020 2 commits
  7. 16 Sep, 2020 1 commit
  8. 15 Sep, 2020 2 commits
  9. 14 Sep, 2020 11 commits
  10. 13 Sep, 2020 9 commits
    • Matthias Clasen's avatar
      gtk-demo: Don't offer to run titles · 9d6990fd
      Matthias Clasen authored
      When a group is selected (such as 'Benchmark'),
      make the run button insensitive - there is nothing
      to run.
      9d6990fd
    • Matthias Clasen's avatar
      Demo thyself · 3f1fa664
      Matthias Clasen authored
      Make gtk-demo show itself as a useful example.
      3f1fa664
    • Matthias Clasen's avatar
      gtk-demo: Add keywords to demos · d732c869
      Matthias Clasen authored
      Add the names of the main widgets as keywords to
      our demos, but also things like "game". This helps
      finding relevant demos in our growing list. You
      can now for example type "label", and find the
      "error states" and "links" demos showing GtkLabel
      features.
      d732c869
    • Matthias Clasen's avatar
      gtk-demo: Support keywords for search · 691261c7
      Matthias Clasen authored
      Filter the sidebar on keywords that can be provided
      by the demos. We extract keywords from the doc comment
      at the top of each demo source by looking for words that
      look like class names. We also allow to specify keywords
      explicitly.
      691261c7
    • Matthias Clasen's avatar
      gtk-demo: Ignore some lines in info · fe6f70ef
      Matthias Clasen authored
      Ignore lines starting with # in the info comment at
      the top of source files. This will be used to add
      keywords for search in following commits.
      fe6f70ef
    • Matthias Clasen's avatar
      gtk-demo: Add another demo · a90801e6
      Matthias Clasen authored
      This one is a more or less direct copy of the
      settings dialog from widget-factory, demonstrating
      error states and builder scopes.
      a90801e6
    • Matthias Clasen's avatar
      gtk-demo: Make F11 toggle fullscreen · 7518fd0d
      Matthias Clasen authored
      In the video player demo, we have a button to make
      the window fullscreen, but no easy way back. Add
      the usual F11 keybinding, to make things at least
      somewhat recoverable.
      7518fd0d
    • Matthias Clasen's avatar
      gtk-demo: Add some example videos · 52304fe7
      Matthias Clasen authored
      Add buttons to show the gtk-logo animation and
      the Big Buck Bunny trailer.
      52304fe7
    • Matthias Clasen's avatar
      gtk-demo: Don't refer to removed demos · fc720b57
      Matthias Clasen authored
      The animated background demos was referring to the
      pixbuf demo that was removed a while ago. Reword
      the text accordingly.
      fc720b57
  11. 12 Sep, 2020 3 commits
  12. 10 Sep, 2020 1 commit
  13. 09 Sep, 2020 1 commit
  14. 08 Sep, 2020 2 commits
    • Andreas Persson's avatar
      Fix warning in listview_settings demo · 81c835c4
      Andreas Persson authored
      Fix a warning introduced when sorter constructors were changed to return
      exact types.
      81c835c4
    • Alexander Larsson's avatar
      gtk-demo: Add shadertoy demo · 0092a08d
      Alexander Larsson authored
      This adds a small demo of using OpenGL shaders, it renders a quad
      over the entire widget with a custom fragment shader. The coordinates
      and the uniform names are compatible with the ones on shadertoy.com
      (although some features, like texture inputs are missing currently).
      
      The default shader in the demo is
      https://www.shadertoy.com/view/wsjBD3 which is CC0, so it is
      redistributable by Gtk+ (most other shaders are CC-BY-NC-SA which
      isn't obviously compatible). I also added a set of buttons loading
      a few other CC0 shaders I found.
      0092a08d
  15. 06 Sep, 2020 1 commit