Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADDED modeller code (basic app frame, no logic yet)
- Loading branch information
Showing
14 changed files
with
2,405 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
SUBDIRS = backend common dlgedit mapedit questedit | ||
SUBDIRS = backend common dlgedit mapedit modeller questedit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,195 @@ | ||
<?xml version="1.0"?> | ||
<interface> | ||
<!-- interface-requires gtk+ 2.12 --> | ||
<!-- interface-naming-policy toplevel-contextual --> | ||
<object class="GtkDialog" id="dialog1"> | ||
<property name="border_width">5</property> | ||
<property name="type">popup</property> | ||
<property name="resizable">False</property> | ||
<property name="default_width">200</property> | ||
<property name="default_height">80</property> | ||
<property name="type_hint">normal</property> | ||
<property name="decorated">False</property> | ||
<property name="deletable">False</property> | ||
<property name="has_separator">False</property> | ||
<child internal-child="vbox"> | ||
<object class="GtkVBox" id="dialog-vbox1"> | ||
<property name="visible">True</property> | ||
<property name="orientation">vertical</property> | ||
<property name="spacing">2</property> | ||
<child> | ||
<object class="GtkTable" id="table1"> | ||
<property name="visible">True</property> | ||
<property name="n_rows">3</property> | ||
<property name="n_columns">3</property> | ||
<property name="column_spacing">4</property> | ||
<property name="row_spacing">4</property> | ||
<child> | ||
<object class="GtkLabel" id="label1"> | ||
<property name="visible">True</property> | ||
<property name="label" translatable="yes">X</property> | ||
<property name="justify">right</property> | ||
</object> | ||
<packing> | ||
<property name="top_attach">1</property> | ||
<property name="bottom_attach">2</property> | ||
<property name="x_options"></property> | ||
<property name="y_options"></property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkLabel" id="label2"> | ||
<property name="visible">True</property> | ||
<property name="xalign">1</property> | ||
<property name="yalign">1</property> | ||
<property name="label" translatable="yes">Y</property> | ||
<property name="justify">right</property> | ||
</object> | ||
<packing> | ||
<property name="top_attach">2</property> | ||
<property name="bottom_attach">3</property> | ||
<property name="x_options"></property> | ||
<property name="y_options"></property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkLabel" id="label3"> | ||
<property name="visible">True</property> | ||
<property name="label" translatable="yes">Offset</property> | ||
</object> | ||
<packing> | ||
<property name="left_attach">1</property> | ||
<property name="right_attach">2</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkLabel" id="label4"> | ||
<property name="visible">True</property> | ||
<property name="label" translatable="yes">Spacing</property> | ||
</object> | ||
<packing> | ||
<property name="left_attach">2</property> | ||
<property name="right_attach">3</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkSpinButton" id="x_offset"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="invisible_char">●</property> | ||
<property name="xalign">1</property> | ||
<property name="overwrite_mode">True</property> | ||
<property name="numeric">True</property> | ||
<property name="wrap">True</property> | ||
</object> | ||
<packing> | ||
<property name="left_attach">1</property> | ||
<property name="right_attach">2</property> | ||
<property name="top_attach">1</property> | ||
<property name="bottom_attach">2</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkSpinButton" id="y_offset"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="invisible_char">●</property> | ||
<property name="xalign">1</property> | ||
<property name="overwrite_mode">True</property> | ||
<property name="numeric">True</property> | ||
<property name="wrap">True</property> | ||
</object> | ||
<packing> | ||
<property name="left_attach">1</property> | ||
<property name="right_attach">2</property> | ||
<property name="top_attach">2</property> | ||
<property name="bottom_attach">3</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkSpinButton" id="x_spacing"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="invisible_char">●</property> | ||
<property name="xalign">1</property> | ||
<property name="overwrite_mode">True</property> | ||
<property name="numeric">True</property> | ||
</object> | ||
<packing> | ||
<property name="left_attach">2</property> | ||
<property name="right_attach">3</property> | ||
<property name="top_attach">1</property> | ||
<property name="bottom_attach">2</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkSpinButton" id="y_spacing"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="invisible_char">●</property> | ||
<property name="xalign">1</property> | ||
<property name="overwrite_mode">True</property> | ||
<property name="numeric">True</property> | ||
</object> | ||
<packing> | ||
<property name="left_attach">2</property> | ||
<property name="right_attach">3</property> | ||
<property name="top_attach">2</property> | ||
<property name="bottom_attach">3</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkImage" id="image1"> | ||
<property name="visible">True</property> | ||
<property name="stock">gtk-zoom-fit</property> | ||
</object> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">False</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkCheckButton" id="cb_autoadjust"> | ||
<property name="label" translatable="yes">Auto-adjust</property> | ||
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="receives_default">False</property> | ||
<property name="has_tooltip">True</property> | ||
<property name="tooltip_text">If selected, the grid will automatically adapt to the selected object.</property> | ||
<property name="focus_on_click">False</property> | ||
<property name="active">True</property> | ||
<property name="draw_indicator">True</property> | ||
</object> | ||
<packing> | ||
<property name="padding">2</property> | ||
<property name="position">2</property> | ||
</packing> | ||
</child> | ||
<child internal-child="action_area"> | ||
<object class="GtkHButtonBox" id="dialog-action_area"> | ||
<property name="width_request">0</property> | ||
<property name="height_request">0</property> | ||
<child> | ||
<placeholder/> | ||
</child> | ||
<child> | ||
<placeholder/> | ||
</child> | ||
<child> | ||
<placeholder/> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">False</property> | ||
<property name="pack_type">end</property> | ||
<property name="position">0</property> | ||
</packing> | ||
</child> | ||
</object> | ||
</child> | ||
</object> | ||
</interface> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## Process this file with automake to produce Makefile.in | ||
|
||
noinst_PROGRAMS = modeller | ||
|
||
noinst_HEADERS = \ | ||
gui_modeller.h \ | ||
gui_preview.h \ | ||
mdl_cmdline.h | ||
|
||
modeller_SOURCES = \ | ||
gui_modeller.cc \ | ||
gui_preview.cc \ | ||
main.cc \ | ||
mdl_cmdline.cc | ||
|
||
INCLUDES = -I@top_srcdir@/src/common -I@top_srcdir@/src | ||
modeller_CXXFLAGS = -D_VERSION_=\"0.1\" $(GTK_CFLAGS) $(PY_CFLAGS) $(ADONTHELL_CFLAGS) ${IGE_MAC_CFLAGS} | ||
modeller_LDADD = ../common/libcommon.a $(GTK_LIBS) $(ADONTHELL_LIBS) ${IGE_MAC_LIBS} |
Oops, something went wrong.