• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kimgio
 

kimgio

  • kimgio
ico.h
1
2/*
3 * $Id$
4 * ico.h - kimgio import filter for MS Windows .ico files
5 *
6 * Distributed under the terms of the LGPL
7 * Copyright (c) 2000 Malte Starostik <malte@kde.org>
8 *
9 */
10
11// You can use TQImageIO::setParameters() to request a specific
12// Icon out of an .ico file:
13//
14// Options consist of a name=value pair and are separated by a semicolon.
15// Available options are:
16// size=<size> select the icon that most closely matches <size> (pixels)
17// default: 32
18// colors=<num> select the icon that has <num> colors (or comes closest)
19// default: 1 << display depth or 0 (RGB) if display depth > 8
20// index=<index> select the indexth icon from the file. If this option
21// is present, the size and colors options will be ignored.
22// default: none
23// If both size and colors are given, size takes precedence.
24//
25// The old format is still supported:
26// the parameters consist of a single string in the form
27// "<size>[:<colors>]" which correspond to the options above
28//
29// If an icon was returned (i.e. the file is valid and the index option
30// if present was not out of range), the icon's index within the .ico
31// file is returned in the text tag "X-Index" of the image.
32// If the icon is in fact a cursor, its hotspot coordinates are returned
33// in the text tags "X-HotspotX" and "X-HotspotY".
34
35#ifndef _ICO_H_
36#define _ICO_H_
37
38class TQImageIO;
39
40extern "C"
41{
42 void kimgio_ico_read(TQImageIO *);
43// void kimgio_ico_write(TQImageIO *);
44}
45
46#endif

kimgio

Skip menu "kimgio"
  • Main Page
  • File List
  • Related Pages

kimgio

Skip menu "kimgio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for kimgio by doxygen 1.9.4
This website is maintained by Timothy Pearson.