LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2010, 12:08 PM   #1
aayu09
Member
 
Registered: Feb 2010
Posts: 30

Rep: Reputation: 15
image/text bound property


I am working on a GUI application, and one data structure has a variable called bound:
typedef struct MyStruct
{
...
bool bound; // image/text bound state
...
} my_struct_type_t

This structure support bitmap and text of a button, I am not exactly sure what bound state mean here, can anyone help on that?

Thanks
 
Old 11-02-2010, 08:08 PM   #2
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
Is that C code? There is no bool data type in C, so it's probably typedef'd somewhere else. You probably need to ask the person who wrote the code to explain what the value means, there's really no way for anyone to know based on the information you've provided. I mean I could guess and say that 1 means image and 0 means text, but that's just a wild guess.
 
Old 11-03-2010, 12:19 PM   #3
aayu09
Member
 
Registered: Feb 2010
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks for the comments. This is c++ source code. I just found out the bool value decides the alighment of text and image.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: "Intellectual Property" a Violation of Real Property LXer Syndicated Linux News 1 11-11-2009 05:39 AM
Convert text to image? J_Szucs Linux - Software 5 04-04-2009 02:48 PM
Text link to image zkab Linux - Software 2 03-01-2008 10:47 AM
convert image to text? tramni1980 Linux - Desktop 4 12-18-2006 03:29 PM
How to Add Text to An Image? VorlonInfoTech Linux - Software 1 02-01-2004 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration