r1494@localhost: muntyan | 2005-12-24 07:33:51 -0600
Add resources to termhelper.exemaster
parent
ed3e67396e
commit
63756797e6
10
moo.kdevelop
10
moo.kdevelop
|
@ -33,7 +33,7 @@
|
|||
<kdevautoproject>
|
||||
<general>
|
||||
<activetarget>moo/libmoo.la</activetarget>
|
||||
<useconfiguration>debug</useconfiguration>
|
||||
<useconfiguration>mingw</useconfiguration>
|
||||
</general>
|
||||
<run>
|
||||
<mainprogram>./medit</mainprogram>
|
||||
|
@ -268,16 +268,16 @@
|
|||
</kdevdoctreeview>
|
||||
<kdevfilecreate>
|
||||
<filetypes>
|
||||
<type icon="source" ext="g" name="GAP source" create="template" >
|
||||
<type icon="source" ext="g" create="template" name="GAP source" >
|
||||
<descr>A new empty GAP source file</descr>
|
||||
</type>
|
||||
<type icon="source_cpp" ext="cpp" name="C++ Source" create="template" >
|
||||
<type icon="source_cpp" ext="cpp" create="template" name="C++ Source" >
|
||||
<descr>A new empty C++ file.</descr>
|
||||
</type>
|
||||
<type icon="source_h" ext="h" name="C/C++ Header" create="template" >
|
||||
<type icon="source_h" ext="h" create="template" name="C/C++ Header" >
|
||||
<descr>A new empty header file for C/C++.</descr>
|
||||
</type>
|
||||
<type icon="source_c" ext="c" name="C Source" create="template" >
|
||||
<type icon="source_c" ext="c" create="template" name="C Source" >
|
||||
<descr>A new empty C file.</descr>
|
||||
</type>
|
||||
</filetypes>
|
||||
|
|
|
@ -53,6 +53,7 @@ mooterm_win32_sources = \
|
|||
$(mooterm)/mootermpt-win32.c
|
||||
|
||||
termhelper_sources = \
|
||||
termhelper_res.res \
|
||||
$(mooterm)/mootermhelper.c \
|
||||
$(mooterm)/mootermhelper.h \
|
||||
$(mooterm)/pty.c \
|
||||
|
@ -90,6 +91,8 @@ moo_extra_dist += $(mooterm_extra_dist)
|
|||
if MOO_OS_CYGWIN
|
||||
noinst_PROGRAMS += termhelper
|
||||
termhelper_SOURCES = $(termhelper_sources)
|
||||
nodist_termhelper_SOURCES = termhelper_res.res
|
||||
CLEANFILES += termhelper_res.res
|
||||
termhelper_CFLAGS = \
|
||||
-I$(top_builddir) \
|
||||
-I$(top_srcdir) \
|
||||
|
@ -97,4 +100,10 @@ termhelper_CFLAGS = \
|
|||
-I$(top_builddir)/$(MOO_SRC_PREFIX) \
|
||||
$(MOO_DEBUG_CFLAGS) \
|
||||
$(CFLAGS)
|
||||
termhelper_res.res: $(mooterm)/termhelper_res.rc
|
||||
$(WINDRES) -i $(mooterm_srcdir)/termhelper_res.rc --input-format=rc -o termhelper_res.res -O coff
|
||||
termhelper_LDADD = termhelper_res.res
|
||||
else
|
||||
termhelper_res.res: $(mooterm)/termhelper_res.rc
|
||||
touch termhelper_res.res
|
||||
endif
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
|
||||
#define EMPTY_CHAR MOO_TERM_EMPTY_CHAR
|
||||
static MooTermTextAttr ZERO_ATTR = MOO_TERM_ZERO_ATTR;
|
||||
static MooTermCell EMPTY_CELL = {EMPTY_CHAR, MOO_TERM_ZERO_ATTR};
|
||||
G_GNUC_UNUSED static MooTermTextAttr ZERO_ATTR = MOO_TERM_ZERO_ATTR;
|
||||
G_GNUC_UNUSED static MooTermCell EMPTY_CELL = {EMPTY_CHAR, MOO_TERM_ZERO_ATTR};
|
||||
|
||||
#define CELLMOVE(dest__,src__,n__) memmove (dest__, src__, (n__) * sizeof (MooTermCell))
|
||||
#define CELLCPY(dest__,src__,n__) memcpy (dest__, src__, (n__) * sizeof (MooTermCell))
|
||||
|
|
Loading…
Reference in New Issue