vvvv / VL.StandardLibs

A collection of standard libraries for vvvv including VL.Stride, VL.Skia, VL.ImGui, msgpack.org[VL]
https://visualprogramming.net
GNU Lesser General Public License v3.0
40 stars 15 forks source link

Queries #39

Open antongit opened 2 years ago

antongit commented 2 years ago

Main

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L288

Demo, Debug, Information

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L296

Windows Utilities

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L340

Content region

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L374

Windows Scrolling

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L379

Parameters stacks

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L405

Style read access

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L413

Cursor / Layout

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L423

ID stack/scopes

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L454

Trees

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L589

Popups

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L699

Tables: Sorting & Miscellaneous functions

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L747

Item/Widgets Utilities and Query Functions

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L821

Text Utilities

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L865

Viewports:

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L842

Misc Utils

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L852

Mouse

https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L886

Input Utilities: Mouse / Keyboard / Gamepad

https://github.com/ocornut/imgui/blob/e57871bb95faec757e51214bc0e1ae29b13258ab/imgui.h#L887

Docking [Beta API]

https://github.com/ocornut/imgui/blob/c191faf0ba478e9c58a69c63306986a21ebfb6e4/imgui.h#L803

Context

https://github.com/ocornut/imgui/blob/e57871bb95faec757e51214bc0e1ae29b13258ab/imgui.h#L285

Memory Allocations

https://github.com/ocornut/imgui/blob/e57871bb95faec757e51214bc0e1ae29b13258ab/imgui.h#L954

Ommited.

azeno commented 2 years ago

@untone I just pushed GetStyleColorVec but I'm not sure about the others (IO, Style, Font, SortSpec) - what should those nodes do? Can you sketch them like you did with GetStyleColorVec?

antongit commented 2 years ago

@azeno Thank you, Elias. I've pushed my sketches for GetStyle and TableGetSortSpecs.

This SortSpecs is a bit more complicated, because it looks like, that the returned struct can be nested? (https://github.com/ocornut/imgui/blob/2d38bc99b3b0013952d3d390397297083b767972/imgui.h#L2119)... And we probably should forward ImGuiTableColumnSortSpecs in the VL doc, right?

azeno commented 2 years ago

@antongit See my last commit messages.

antongit commented 2 years ago

@azeno TableGetSortSpecs: yes it looks like that it works only between begin/end, but that's ok, then the node is only for the Immediate Mode, I've marked it so. But it also fails if the Table doesn't have Sortable flag, probably we need a check inside the Query if the Table is sortable or not (?), I'll check it. At the moment I can't access TableColumnSortSpecs, because I can't forward anything, I'm on preview .0197.

image image

TableGetSortSpecs - Immediate.zip