C-KIT-GUI-GTK 0.62
tst_gui1.c File Reference

Test with simple OpenGL-window. More...

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../ut/ut_types.h"
#include "../ut/ut_umem.h"
#include "../gui/gui__.h"

Functions

int UI_butt1_cb (MemObj *mo, void **data)
 
int cb_list2 (MemObj *mo, void **data)
 
int pop_cp (MemObj *mo, void **data)
 
int tst_gl_draw ()
 
int tst_gl_move ()
 
int tst_gl_button ()
 
int tst_gl_key ()
 
int UI_cbp1 (char *fnamC, char *parentTxt)
 
int UI_cbp2 (char *parentTxt, char *childtxt)
 
int mywin2 (MemObj *mo, void **data)
 
int mywin3 (MemObj *mo, void **data)
 
int mywin4 (MemObj *mo, void **data)
 
int f_e1_cb (MemObj *mo, void **data)
 
int f_cb_exit (MemObj *mo, void **data)
 
int f_cb_key (MemObj *mo, void **data)
 
int f_cb_but (void *parent, void **data)
 
int tst_gui ()
 
int main ()
 

Variables

static MemObj but0
 
static MemObj ent1
 
static MemObj wsl1
 
static MemObj win0
 
static MemObj win1
 
static MemObj win2 = GUI_OBJ_NEW
 
static MemObj win3 = GUI_OBJ_NEW
 
static MemObj lbl0
 
static MemObj lbl1
 
static MemObj lbl2
 
static MemObj rb2
 
static MemObj wmcb1
 
static MemObj wml
 
static MemObj wgl
 
static MemObj wnb
 
static MemObj wtb
 

Detailed Description

Test with simple OpenGL-window.

Copyright (C) 2015 CADCAM-Servies Franz Reiter (franz.nosp@m..rei.nosp@m.ter@c.nosp@m.adca.nosp@m.m.co..nosp@m.at)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.


TODO: ..


Modifications: 2012-04-24 neu erstellt. RF.


make run -f tst_gui1.mak "OS=Linux32"

export LD_LIBRARY_PATH=~/binLinux32 && ~/binLinux32/a.out

Function Documentation

int UI_butt1_cb ( MemObj mo,
void **  data 
)
int cb_list2 ( MemObj mo,
void **  data 
)
int pop_cp ( MemObj mo,
void **  data 
)
int tst_gl_draw ( )
int tst_gl_move ( )
int tst_gl_button ( )
int tst_gl_key ( )
int UI_cbp1 ( char *  fnamC,
char *  parentTxt 
)
callback parent-sel/create childs-file from selected parent
fnamC filename (write childs of parent <parentTxt> into this file)
int UI_cbp2 ( char *  parentTxt,
char *  childtxt 
)
int mywin2 ( MemObj mo,
void **  data 
)
int mywin3 ( MemObj mo,
void **  data 
)
int mywin4 ( MemObj mo,
void **  data 
)
int f_e1_cb ( MemObj mo,
void **  data 
)
int f_cb_exit ( MemObj mo,
void **  data 
)
int f_cb_key ( MemObj mo,
void **  data 
)
int f_cb_but ( void *  parent,
void **  data 
)
int tst_gui ( )
int main ( )

Variable Documentation

MemObj but0
static
MemObj ent1
static
MemObj wsl1
static
MemObj win0
static
MemObj win1
static
MemObj win2 = GUI_OBJ_NEW
static
MemObj win3 = GUI_OBJ_NEW
static
MemObj lbl0
static
MemObj lbl1
static
MemObj lbl2
static
MemObj rb2
static
MemObj wmcb1
static
MemObj wml
static
MemObj wgl
static
MemObj wnb
static
MemObj wtb
static