gCAD3D 2.35
xa_ted.c File Reference

TextureEditor. More...

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_cast.h"
#include "../gui/gui__.h"
#include "../ut/func_types.h"
#include "../gr/ut_GL.h"
#include "../xa/xa.h"
#include "../xa/xa_msg.h"
#include "../xa/xa_ui.h"

Macros

#define TRUE   1
 
#define FALSE   0
 

Functions

int TED_win__ (MemObj *parent, void *data)
 
int TED_CB1 (MemObj *mo, void **data)
 
int TED_mousemove_CB (int dx, int dy)
 
int TED_key_CB (int key)
 
int TED_sel_CB (int src, long dl_ind)
 
char * TED_name ()
 
int TED_Tex_Load (char *fnam, char *dirNam)
 
int TED_init (int typ, long dbi, long dli)
 
int TED_exit__ ()
 
int TED_frm__ (int mode)
 
int TED_upd__ (int mode, void *val1, void *val2)
 

Variables

MemObj UIw_Box_TB
 
AP_STAT AP_stat
 
char AP_dir_open [128]
 
char AP_sym_open [64]
 
static MemObj TEDtb =GUI_OBJ_NEW
 
static int TED_mode =-1
 
static int actTyp
 
static long actDbi
 
static long actDli
 
static void * actObj
 
static TexRef actTr
 

Detailed Description

TextureEditor.

=====================================================
List_functions_start:
TED_init main-entrypoint
TED_win__ create Toolbar
TED_CB1 callback-dispatch
TED_frm__ display|remove frame
TED_name get texturename
TED_Tex_Load User has textureFile from FileList selected ..
TED_upd__ modify-functions
List_functions_end:
=====================================================
see also xa_ped.c
see also UI_WinTra__ alter modelPositionEditor

Macro Definition Documentation

#define TRUE   1
#define FALSE   0

Function Documentation

int TED_win__ ( MemObj parent,
void *  data 
)
int TED_CB1 ( MemObj mo,
void **  data 
)

handle textures

int TED_mousemove_CB ( int  dx,
int  dy 
)
int TED_key_CB ( int  key)
int TED_sel_CB ( int  src,
long  dl_ind 
)
char * TED_name ( )
int TED_Tex_Load ( char *  fnam,
char *  dirNam 
)
int TED_init ( int  typ,
long  dbi,
long  dli 
)
int TED_exit__ ( )
int TED_frm__ ( int  mode)
int TED_upd__ ( int  mode,
void *  val1,
void *  val2 
)

Variable Documentation

MemObj UIw_Box_TB
AP_STAT AP_stat
char AP_dir_open[128]
char AP_sym_open[64]
MemObj TEDtb =GUI_OBJ_NEW
static
int TED_mode =-1
static
int actTyp
static
long actDbi
static
long actDli
static
void* actObj
static
TexRef actTr
static