forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 27 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: smooth lines (antialiasing)
FLEXPLAN3D

Replies: 3
Views: 779

PostForum: ClearWin+   Posted: Wed Feb 14, 2024 8:15 pm   Subject:
Paul

I would like to use line smoothing with windows created with the api createwindow function because my window procedure looks at the messages, wparam and lparam in more detail than I can achie ...
  Topic: smooth lines (antialiasing)
FLEXPLAN3D

Replies: 3
Views: 779

PostForum: ClearWin+   Posted: Wed Feb 14, 2024 5:40 pm   Subject: smooth lines (antialiasing)
The Gdi+ api provides antialiasing functions and these can be accessed under Clearwin for graphic regions (%gr). However, these do not appear to extend to windows created by %dw or windows created ...
  Topic: Opengl Extensions
FLEXPLAN3D

Replies: 15
Views: 23498

PostForum: General   Posted: Sun Jun 06, 2021 6:22 pm   Subject: axis labelling
Dan

To set the background use GLCLEARCOLOR

e.g. dark to set a dark red background

CALL GLCLEARCOLOR (0.5,0.0,0.0, 1.0).

Here is a 2nd mod to the assemble_list routine in the animate.for ...
  Topic: Opengl Extensions
FLEXPLAN3D

Replies: 15
Views: 23498

PostForum: General   Posted: Sun May 30, 2021 4:07 pm   Subject: second half of code
C Draw graph
C
call glBegin(GL_LINES)
call glColor3fv(white_colour)
call glVertex2d(-scale,0d0)
call glVertex2d(scale,0d0)
call glVertex2d(0d0,-scale)
c ...
  Topic: Opengl Extensions
FLEXPLAN3D

Replies: 15
Views: 23498

PostForum: General   Posted: Sun May 30, 2021 4:01 pm   Subject: Text on Opengl Plot
The easiest way I think is to disable depth testing before drawing the text.
i.e call glDisable(GL_DEPTH_TEST)

There is a Silverfrost Opengl example (animate.for) that I have modified to show ...
  Topic: Opengl Extensions
FLEXPLAN3D

Replies: 15
Views: 23498

PostForum: General   Posted: Tue Mar 30, 2021 4:18 pm   Subject:
Paul

Thanks for looking at it - if you can think of any other way of implemented multi-sampling I would still be interested.

Bob
  Topic: Opengl Extensions
FLEXPLAN3D

Replies: 15
Views: 23498

PostForum: General   Posted: Sat Jan 30, 2021 8:18 pm   Subject: Opengl Extensions
Paul

My apologies - here is the missing bit.

I can send a file if you wish, but I don't have a contact e-mail for you.

Thanks

Bob

}
}
} ...
  Topic: Opengl Extensions
FLEXPLAN3D

Replies: 15
Views: 23498

PostForum: General   Posted: Sat Jan 30, 2021 11:30 am   Subject: Opengl Extensions
This code to set multisampling is taken from Opengl Superbible by R wright. I cannot get it to compile with SCC compiler.

I think if this worked I could access the multi-sampling I require.

A ...
  Topic: Opengl Extensions
FLEXPLAN3D

Replies: 15
Views: 23498

PostForum: General   Posted: Mon Jan 25, 2021 10:17 pm   Subject: Opengl Extensions
This question is probably for Silverfrost Developers.

The clearwin support for Opengl has not kept pace with the more recent extensions to the Opengl API.

In particular the number of wgl functi ...
  Topic: WINDOWS 8.1 and Microsoft Surface Pro Tablet
FLEXPLAN3D

Replies: 23
Views: 27499

PostForum: General   Posted: Wed Apr 09, 2014 6:55 pm   Subject:
Paul

Today I downloaded Update 1 for Windows 8.1 (released on 8th April 2014 -KB2919355).

All the problems I had with the pen and touch are now fixed. All is working very well.

So, Paul you w ...
  Topic: WINDOWS 8.1 and Microsoft Surface Pro Tablet
FLEXPLAN3D

Replies: 23
Views: 27499

PostForum: General   Posted: Wed Apr 02, 2014 7:32 pm   Subject:
Paul the problem is not to do with FTN95 or Clearwin as the simple C program below crashes when I try to move the window with pen or touch. So perhaps it is as you say a Microsoft problem, or a probl ...
  Topic: WINDOWS 8.1 and Microsoft Surface Pro Tablet
FLEXPLAN3D

Replies: 23
Views: 27499

PostForum: General   Posted: Mon Mar 10, 2014 10:05 am   Subject: surfae pro tablet
I have found that if I add a 'getmessage' loop to the simple menu program which dispatches the message to the window procedure then the menu works fine with touch and stylus.

Have you any thoughts ...
  Topic: WINDOWS 8.1 and Microsoft Surface Pro Tablet
FLEXPLAN3D

Replies: 23
Views: 27499

PostForum: General   Posted: Thu Feb 27, 2014 10:00 am   Subject:
I have taken the message box out all together and the program still crashes when a menu item is touched.

The c++ version of the program (listed near the top of this post) crashes
in the same way ...
  Topic: drop down combos crashing in Windows 8.1
FLEXPLAN3D

Replies: 15
Views: 15519

PostForum: ClearWin+   Posted: Mon Feb 24, 2014 11:20 am   Subject: DROP DOWN COMBOS
I have also tried you combo example in my surface pro under windows 8.1.

It works fine with the mouse or touch pad input but crashes when trying to select an item in the combo lists with the stylus ...
  Topic: Scrollable format window?
FLEXPLAN3D

Replies: 49
Views: 48000

PostForum: ClearWin+   Posted: Tue Jan 28, 2014 9:51 pm   Subject:
Here are the scrolling functions for the example

PART 2



c------------------------
c*** scrolling functions
c------------------------


MODULE SCROLLER
INTEGER IVOFFSET,IH ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group