Sponsored Content
Top Forums Programming use graphics library in c linux. Post 74676 by yogesh_powar on Sunday 12th of June 2005 04:50:45 AM
Old 06-12-2005
Computer use graphics library in c linux.

like what we have graphics.h in turbo c which works well on windows , do we have anything like that in linux.(i suppose ncurses may be one) Smilie
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Linux graphics on a laptop

I'm trying to setup Redhat 7.0 on a Dell Latitude C600/C610. Only thing I can't get to work is the damn graphics resolution. It's all configured correct apart from that. What it is when I type 'startx' the resolution is huge. Shows about a quater of the screen resolution because of this. ... (1 Reply)
Discussion started by: merlin
1 Replies

2. UNIX for Dummies Questions & Answers

Graphics install on Linux

I'm trying to get RedHat 7.0 working on a Dell Latitude c600/c610 working. Well the graphics driver anyway. See no matter what I configure it wont work. Run Xconfigurator and it wont have the right drivers installed for me to pick etc etc. So I'll run Xconfigurator get a generic driver,... (1 Reply)
Discussion started by: merlin
1 Replies

3. UNIX for Advanced & Expert Users

Linux, Python and Graphics

Hi Experts, I am designing a web page in Python that shows a graphical representation of the load on the various computing nodes of the Linux server. I am currently using ReportLab to generate the charts and graphs, but I seem to have some problems with that. I've reviewed ChartDirector. It... (2 Replies)
Discussion started by: davidfrank
2 Replies

4. Ubuntu

Installing NVIDIA-Linux 64-260.19.04.run graphics card

I am trying to install this NVIDIA-Linux 64-260.19.04.run graphics card, it is a GeForce GTX460 EVGA. I have tried all the commands to turn off the Xserver yes I can get it off yes I can get to root prompt or sudo prompt in home directory but every time I use the sh NVIDIA-Linux 64-260.19.04.run... (0 Replies)
Discussion started by: jackdevon
0 Replies

5. OS X (Apple)

[Solved] links2 --enable-graphics from source, configure error: no graphics driver found.

Howdy I am trying to install links2 with graphics support on snow leopard 10.6.8 (xcode installed). I have had the program running last year, also installed from source - but then I had installed some image libraries with mac ports and fink - cannot reproduce that setup. Plus I would like to not... (6 Replies)
Discussion started by: butterbaerchen
6 Replies

6. UNIX for Dummies Questions & Answers

Install library in linux

Hello, I try to install a library (BLCR) on Ubuntu , i'd like to install it on two machines. This library has a respository named blcr-build , i have this rep in /home/user1 in machine1 and in /home/user2 in machine2. When can i store this repository of the library so i will have the same path... (1 Reply)
Discussion started by: chercheur857
1 Replies

7. UNIX for Advanced & Expert Users

Graphics Driver Support in Linux

It's not exactly a question and more of a discussion. I found very less graphics application being developed for linux system. I'm not really fond of graphics programming and have a very little knowledge about it. Can any one suggest me that whether linux lack in ghraphics support? or... (2 Replies)
Discussion started by: kg_gaurav
2 Replies
resizeterm(3X)															    resizeterm(3X)

NAME
is_term_resized, resize_term, resizeterm - change the curses terminal size SYNOPSIS
#include <curses.h> bool is_term_resized(int lines, int columns); int resize_term(int lines, int columns); int resizeterm(int lines, int columns); DESCRIPTION
This is an extension to the curses library. It provides callers with a hook into the ncurses data to resize windows, primarily for use by programs running in an X Window terminal (e.g., xterm). The function resizeterm resizes the standard and current windows to the specified dimensions, and adjusts other bookkeeping data used by the ncurses library that record the window dimensions. Most of the work is done by the inner function resize_term. The outer function resizeterm adds bookkeeping for the SIGWINCH handler. When resizing the windows, resize_term blank-fills the areas that are extended. The calling application should fill in these areas with appro- priate data. The resize_term function attempts to resize all windows. However, due to the calling convention of pads, it is not possible to resize these without additional interaction with the application. A support function is_term_resized is provided so that applications can check if the resize_term function would modify the window struc- tures. It returns TRUE if the windows would be modified, and FALSE otherwise. RETURN VALUE
Except as notes, these function return the integer ERR upon failure and OK on success. They will fail if either of the dimensions are less than or equal to zero, or if an error occurs while (re)allocating memory for the windows. NOTES
While these functions are intended to be used to support a signal handler (i.e., for SIGWINCH), care should be taken to avoid invoking them in a context where malloc or realloc may have been interrupted, since it uses those functions. If ncurses is configured to supply its own SIGWINCH handler, the resizeterm function ungetch's a KEY_RESIZE which will be read on the next call to getch. This is used to alert an application that the screen size has changed, and that it should repaint special features such as pads that cannot be done automatically. If the environment variables LINES or COLUMNS are set, this overrides the library's use of the window size obtained from the operating sys- tem. Thus, even if a SIGWINCH is received, no screen size change may be recorded. SEE ALSO
curs_variables(3X), wresize(3X). AUTHOR
Thomas Dickey (from an equivalent function written in 1988 for BSD curses). resizeterm(3X)
All times are GMT -4. The time now is 11:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy