02-06-2009
Two new options needs to be added to SMIT GUI
Hi,
I am a beginner to SMIT e
nvironment. Kindly tell me how to add a new option to the GUI. For example options like "ADD A USER".
8 More Discussions You Might Find Interesting
1. AIX
Hi All
I am using AIX 5.1, i have Cygwin-X installed on my Windows XP Pro desktop, I had started the X-Windows Session and logged into the remote AIX server via telnet.
When i issue the command smit i only get the command line version of the SMIT, How can i invoke the SMIT GUI version ?
... (4 Replies)
Discussion started by: kswaraj
4 Replies
2. UNIX for Dummies Questions & Answers
Can someone tell me what the smit.script file does? I'm having a problem with one of my boxes pointing at the wrong webserver. This is the only place I can find the wrong address, but I'm not sure what the file does so I'm afraid to change it. (1 Reply)
Discussion started by: Barb
1 Replies
3. UNIX for Dummies Questions & Answers
Hello all,
1) I want to have a GUI application that will call Unix shell scripts,
2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix.
That is for example.
If a is windows gui (... (1 Reply)
Discussion started by: hchivukula
1 Replies
4. Forum Support Area for Unregistered Users & Account Problems
what is the smit.script file and does it ever need to be cleaned up or deleted (0 Replies)
Discussion started by: PamRainwater
0 Replies
5. AIX
Hi everyone,
I'm trying to keep my smit logs in other directory diferent than the user's home.
I know with -l and -s you can change this settings but I'm wondering if there is any environment value that I can set.
It can be done using alias too ...
Thanx. (3 Replies)
Discussion started by: mfons
3 Replies
6. AIX
Hi All,
I have a Linux system (RHEL 5). I want to install SMIT of AIX on it.
Is it possible? if yes, how it can be done?
Appreciate any help from you.
Amol. (4 Replies)
Discussion started by: Amol21
4 Replies
7. AIX
Hi All,
Have a few doubts on SMIT.
1. Is SMIT available in seperate packages if it is not installed by default with the AIX ?
2. how to check the smit version.. is there anything of that kind ?
3. what is the effect of smit.cat file ?
4. What are all the files present in /etc/objrepos/... (4 Replies)
Discussion started by: BalajiUthira
4 Replies
8. Programming
python gui or c++ gui or java gui?
and when to use etch one? (1 Reply)
Discussion started by: kaja
1 Replies
LEARN ABOUT DEBIAN
load_dat_font
load_dat_font(3alleg4) Allegro manual load_dat_font(3alleg4)
NAME
load_dat_font - Loads a FONT from an Allegro datafile.
SYNOPSIS
#include <allegro.h>
FONT *load_dat_font(const char *filename, RGB *pal, void *param)
DESCRIPTION
Loads a FONT from an Allegro datafile. You can set param parameter to point to an array that holds two strings that identify the font and
the palette in the datafile by name. The first string in this list is the name of the font. You can pass NULL here to just load the first
font found in the datafile. The second string can be used to specify the name of the palette associated with the font. This is only
returned if the pal parameter is not NULL. If you pass NULL for the name of the palette, the last palette found before the font was found
is returned. You can also pass NULL for param, which is treated as if you had passed NULL for both strings separately. In this case, the
function will simply load the first font it finds from the datafile and the palette that precedes it.
For example, suppose you have a datafile named `fonts.dat' with the following contents:
FONT FONT_1_DATA
FONT FONT_2_DATA
FONT FONT_3_DATA
PAL FONT_1_PALETTE
PAL FONT_2_PALETTE
Then the following code will load FONT_1_DATA as a FONT and return FONT_1_PALETTE as the palette:
FONT *f;
PALETTE pal;
char *names[] = { "FONT_1_DATA", "FONT_1_PALETTE" }
f = load_dat_font("fonts.dat", pal, names);
If instead you want to load the second font, FONT_2, from the datafile, you would use:
FONT *f;
PALETTE pal;
char *names[] = { "FONT_2_DATA", "FONT_2_PALETTE" }
f = load_dat_font("fonts.dat", pal, names);
If you want to load the third font, but not bother with a palette, use:
FONT *f;
char *names[] = { "FONT_3_DATA", NULL }
f = load_dat_font("fonts.dat", NULL, names);
RETURN VALUE
Returns a pointer to the font or NULL on error. Remember that you are responsible for destroying the font when you are finished with it to
avoid memory leaks.
SEE ALSO
register_font_file_type(3alleg4), load_font(3alleg4)
Allegro version 4.4.2 load_dat_font(3alleg4)