Search found 133 matches

by Christian
Tue Feb 14, 2017 11:30 am
Forum: Mac OSX
Topic: Canvas & CGContext
Replies: 12
Views: 8645

Re: Canvas & CGContext

Thanks Wilbert.

Actually I was not to much in the Path-Function. I was rather looking for a way to make the CanvasGadget display in Retina resolution. Thought that the CGContext* functions might be a possibility, when adjusting the NSSize of the image (as suggested in http://www.purebasic.fr ...
by Christian
Tue Feb 14, 2017 11:08 am
Forum: Mac OSX
Topic: Canvas & CGContext
Replies: 12
Views: 8645

Re: Canvas & CGContext

Hi there,

I compiled this code (PB 5.51), but it only shows a blank canvas. Is it supposed to work still or do internal changes in PB made since 2011 make it impossible?
by Christian
Fri Feb 10, 2017 9:13 pm
Forum: Mac OSX
Topic: DrawText() on Retina Display
Replies: 3
Views: 2874

Re: DrawText() on Retina Display

Thanks for your reply. Unfortunately it looks different. It is much sharper on the non-retina display. I tried to make a screenshot for comparison:

http://i.imgur.com/bGTAcby.png

The upper part is taken from the program compiled and displayed on a Retina display, the lower one is taken from a ...
by Christian
Fri Feb 10, 2017 2:24 pm
Forum: Mac OSX
Topic: DrawText() on Retina Display
Replies: 3
Views: 2874

DrawText() on Retina Display

Hi everyone,

I currently purchased a retina MacBook. When compiling a program using DrawText() in a CanvasGadget() I recognized that the Text now looks very blurry. Searching in the forum did not give any solutions or mentioning of this problem, but I think it has to do with the Retina display.

Is ...
by Christian
Sat Jan 14, 2017 10:41 am
Forum: Mac OSX
Topic: [Bug?] SetGadgetFont() on TreeGadget() with icons
Replies: 6
Views: 3722

Re: [Bug?] SetGadgetFont() on TreeGadget() with icons

Thanks, Shardik. I think these suggestion will help, until the bug is fixed. :)

Best regards,
Christian
by Christian
Mon Jan 02, 2017 6:24 pm
Forum: Mac OSX
Topic: [Bug?] SetGadgetFont() on TreeGadget() with icons
Replies: 6
Views: 3722

Re: [Bug?] SetGadgetFont() on TreeGadget() with icons

Thanks for your sample code, Shardik. Unfortunately, it still does not align in fully correctly under macOS Sierra 10.12. It is now shifted a little bit to the top of the row instead of being shifted to the bottom. Apart from that I don't see where the exact position of the text is set in your code ...
by Christian
Sat Dec 31, 2016 1:41 pm
Forum: Mac OSX
Topic: [Bug?] SetGadgetFont() on TreeGadget() with icons
Replies: 6
Views: 3722

Re: [Bug?] SetGadgetFont() on TreeGadget() with icons

Thanks for your answer, William. But, actually I don't mean the subitem indentation. What I mean is the vertical position of the text, which is not in the center (vertically) of the row height of any item. Here is a picture:

https://s28.postimg.org/gw0hudust/Bug_Treegadget.png

On the left is ...
by Christian
Wed Dec 28, 2016 12:32 pm
Forum: Mac OSX
Topic: [Bug?] SetGadgetFont() on TreeGadget() with icons
Replies: 6
Views: 3722

[Bug?] SetGadgetFont() on TreeGadget() with icons

Hi,

when using the TreeGadget with icons and a custom set font / font size I observed a small thing: the text is not centered vertically with regard to the icons anymore. It's not a big thing, but it looks somehow ... ugly. (PB 5.51 x64 on macOS Sierra 10.12)

Here is a small example code ...
by Christian
Sat Oct 09, 2010 4:51 pm
Forum: Tricks 'n' Tips
Topic: PureSVG - now with LoadSVG() !
Replies: 67
Views: 42254

Re: PureSVG - now with LoadSVG() !

Hi Seymour,

currently no version of your PureSVG is available through the links posted in this topic. Has this project died? If so, it would be really cool if you could make an older version available for download again!

Thanks and best regards,
Christian
by Christian
Sun Sep 12, 2010 11:01 pm
Forum: Coding Questions
Topic: EditorGadget border and scrollbars
Replies: 8
Views: 2921

Re: EditorGadget border and scrollbars

Nothing was done :lol:

I created an EditorGadget in PB 4.30 again and saw that ... you're right. :lol:

I didn't recognize before that the border of the EditorGadget looked the same way in PB 4.30 regardless of the chosen option for the XP skin support (on or off). :oops:

Thanks for your ...
by Christian
Sun Sep 12, 2010 10:30 pm
Forum: Coding Questions
Topic: EditorGadget border and scrollbars
Replies: 8
Views: 2921

Re: EditorGadget border and scrollbars

With theme support turned off WS_EX_CLIENTEDGE is used but otherwise PB uses the Windows skinning library to draw the border.
Why? Because a plain RichEdit control created via API doesn't use a themed border by default.

So, PureBasic didn't use the Windows skinning library to draw the border in ...
by Christian
Sun Sep 12, 2010 7:29 pm
Forum: Coding Questions
Topic: EditorGadget border and scrollbars
Replies: 8
Views: 2921

Re: EditorGadget border and scrollbars

The EditorGadget doesn't use WS_EX_CLIENTEDGE. It's a special PB fix.

The WS_EX_CLIENTEDGE-Method works with "XP skin support" turned off in the compiler options. Apart from that everything worked fine in PB 4.30 with both, XP skin support turned on or off. So anything was changed in PB 4.40. Any ...
by Christian
Sat Sep 11, 2010 6:29 pm
Forum: Coding Questions
Topic: EditorGadget border and scrollbars
Replies: 8
Views: 2921

Re: EditorGadget border and scrollbars

Hi,

somehow GetWindowLong_() doesn't return the right values for the EditorGadget since PB 4.4 ... any idea what was changed and how I can remove the border of the EditorGadget in any other way?

EDIT: Problem only occurs with "XP skin support" on. But it worked perfectly in PB 4.31 ...
by Christian
Tue Mar 09, 2010 11:24 am
Forum: Applications - Feedback and Discussion
Topic: cairo lib update : version 1.10
Replies: 21
Views: 18446

Re: cairo lib

In the second link there's something missing in the "domain-part".
But the first link worked well! Thanks a lot! :D
by Christian
Tue Mar 09, 2010 12:38 am
Forum: Applications - Feedback and Discussion
Topic: cairo lib update : version 1.10
Replies: 21
Views: 18446

Re: cairo lib

Hi!

I'm looking for this lost include-file. Is anybody out there who's still having it? Would be very helpful ...

Thanks in advance! =)