Chun-wei Fan
|
a20fd5e14e
|
demos/constraint-editor: Fix linking on MSVC builds
We must apply the /entry:mainCRTStartup linker flag in order to link GTK
apps in pure GUI form. This follows what is done in demos/gtk-demo,
etc.
|
2019-07-08 18:37:27 +08:00 |
|
Matthias Clasen
|
aa8687316f
|
constraint editor: Implement loading
Allow to reread the ui builder files we write out.
Just barely.
|
2019-07-02 10:03:48 -04:00 |
|
Matthias Clasen
|
5a3cf5a194
|
constraints editor: Stop naming constraints
We don't have a field for the name in ui files,
so stop naming constraints.
|
2019-07-02 10:03:48 -04:00 |
|
Matthias Clasen
|
c5e1b00994
|
constraint editor: Implement saving
Save to a ui file.
|
2019-07-02 10:03:48 -04:00 |
|
Matthias Clasen
|
377f0c1a0a
|
constraint editor: Use name properties
|
2019-07-02 10:03:48 -04:00 |
|
Matthias Clasen
|
a442e6e8de
|
constraint editor: Use the list models
Instead of handrolling our own list models,
use the ones provided by GtkConstraintLayout.
|
2019-07-02 10:03:48 -04:00 |
|
Matthias Clasen
|
48e6cd4255
|
constraint editor: Allow dragging children
We add a weak constraint for the position
and update it as the widget is dragged.
|
2019-07-01 04:24:26 +00:00 |
|
Matthias Clasen
|
670fc5bb94
|
constraint editor: Enable max size for guide
Also, use the apis we have now, and make the
spin buttons display 'unset' values as such.
|
2019-07-01 02:23:39 +00:00 |
|
Matthias Clasen
|
514de0b91a
|
Add a constraint editor demo
This is an initial cut at providing a tool
for interactive exploration of constraints.
|
2019-07-01 00:10:11 +01:00 |
|