Print Page | Close Window

SkinEffect for viewport

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=9393
Printed Date: 23 November 2024 at 8:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SkinEffect for viewport
Posted By: himanshu
Subject: SkinEffect for viewport
Date Posted: 23 January 2008 at 7:20am
hi
 
refering to the skinsdi example it is reading from the NormalBlue.ini file to provide the skin effect for Button,Combobox,Edit,Explorer,List,Progress,Rebar,Scrollbar,Spin,Status,Tab,
Taskbar,Toolbar,Window etc...
 
Is it possible to provide it for viewport as well .If  yes how?
 
Thanks
Himanshu



Replies:
Posted By: Oleg
Date Posted: 23 January 2008 at 1:49pm
Hi,
 
What do you mean by viewport?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: ABuenger
Date Posted: 23 January 2008 at 4:54pm
Originally posted by oleg oleg wrote:

Hi,
 
What do you mean by viewport?


Now you disappointed me Oleg! Don't you remember the good old Borland Turbo C times with BGI (Borland Graphics Interface)?

Look into graphics.h in your Turbo C include directory:

struct viewporttype {
    int left, top, right, bottom;
    int clip;
};

void       far _Cdecl clearviewport(void);
void       far _Cdecl getviewsettings(struct viewporttype far *__viewport);
void       far _Cdecl setviewport(int __left, int __top, int __right, int __bottom,
                  int __clip);



Just kidding



-------------
Codejock support


Posted By: himanshu
Date Posted: 24 January 2008 at 4:49am
any update on this?


Posted By: Oleg
Date Posted: 24 January 2008 at 4:57am

seriously, what is viewport for you?



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: himanshu
Date Posted: 24 January 2008 at 6:03am
hi
 
In simple terms viewport is the viewing area of my application where i can
draw ,edit and view drawings that i make using openGL .
 
In MFC terms it can be a CView derived class for me where i show my data to application users.
 
 
 
 


Posted By: Oleg
Date Posted: 24 January 2008 at 8:38am

Hi,

How we can skin something that you draw manually in your own code ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net