[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1518.0. "Max. Size of an Icon in UIL ?" by MUHWSS::SCHMADERER () Tue Oct 03 1989 11:07

What is the maximum size of an icon (pixmap) in UIL?

Compiling an icon of 440x300 pixels causes an 'Internal error, please submit a 
spr". Is there a limit of 2^17 pixels for an icon?


T.RTitleUserPersonal
Name
DateLines
1518.1yesSTAR::CYPRYCHTue Oct 03 1989 17:215
    If this is an icon you are creating for use with
    the window manager then there are some limitations.
    The sizes are 17x17 for the small icon, and 32x32 for
    the large icon.

1518.2Not the icon for the window mangerMUHWSS::SCHMADERERWed Oct 04 1989 11:5511
No, the customer wants to use the icons like the one in DECpaint and as a logo.
I told him the best way to implement this is to use the bitmap editor to create 
the pixmaps and include them in the program or load them at runtime.

But the question remains. There must be an internel limitation of an icon under
uil. You can define and use icons with a size of 2^16 pixels. You can also 
define icons larger than this but if you want to use them (in uil) the UIL-
Compiler says "Internal error. Please submit a spr".

So, what are the limitations of the UIL-Compiler and where are they documented?

1518.3"Dimension" is an unsigned 16 bit quantitySDSVAX::SWEENEYI was focused when focus wasnt coolThu Oct 05 1989 08:426
    Throughout all software components that are used in conjunction with
    the MIT X Window System, the "Dimension" of a window or pixmap, its
    width and height, is each an unsigned 16 bit quantity.
    
    Perhaps UIL needs a more specific error message.

1518.4An Internal error is a bug...JER::HARROWJerry Harrow, APA Core Services RTLThu Oct 05 1989 13:407
You should submit a QAR.  For a possibly faster response you might also want
to post the UIL code in the CLT::UIL-DRM conference.  If you exceeded a limit 
on the size of the icon then the message would have said that.  The behavior is
a bug.

-Jer (who once worked on UIL)