Search found 430 matches

by Cyllceaux
Fri Apr 19, 2024 1:38 pm
Forum: Coding Questions
Topic: Check if UseSQLiteDatabase is called
Replies: 9
Views: 111

Re: Check if UseSQLiteDatabase is called

@Axolotl: Yes... I know... But this means I have to do this in every program. My Problem is, there are a Lot of "Use*" Libs, not only Database, but Image, Cypher and others, too. To Make for every "Use*" Lib a Macro, Constant, Module... or other Solutions is to much. And then you...
by Cyllceaux
Fri Apr 19, 2024 12:48 pm
Forum: Coding Questions
Topic: Check if UseSQLiteDatabase is called
Replies: 9
Views: 111

Re: Check if UseSQLiteDatabase is called

@Caronte3D: I thought so... But I hoped there were some PB-Functions to solve this @infratec: No, that's still not good. It's cross project and it's not good to declare hundreds of global variables or constants in all of the projects, just to use different kinds of Modules and libs @mk-soft: I thoug...
by Cyllceaux
Fri Apr 19, 2024 10:10 am
Forum: Coding Questions
Topic: Check if UseSQLiteDatabase is called
Replies: 9
Views: 111

Re: Check if UseSQLiteDatabase is called

Ok... I think there is a misunderstanding. CompilerIf Defined(UseSQLiteDatabase, #PB_Use) Debug "cool" CompilerElse Debug "uncool" ; Should be called CompilerEndIf UseSQLiteDatabase() CompilerIf Defined(UseSQLiteDatabase, #PB_Use) Debug "cool" ; Should be called Compile...
by Cyllceaux
Fri Apr 19, 2024 9:42 am
Forum: Coding Questions
Topic: Check if UseSQLiteDatabase is called
Replies: 9
Views: 111

Re: Check if UseSQLiteDatabase is called

hello mk-soft... that's not what I'm looking for. I write my own framework for saving data. Enumeration _own_db_format #OWN_DB_FORMAT_INMEMORY #OWN_DB_FORMAT_OWN #OWN_DB_FORMAT_XML #OWN_DB_FORMAT_JSON CompilerIf Defined(UseSQLiteDatabase, #PB_Use) #OWN_DB_FORMAT_SQLITE CompilerEndIf EndEnumeration D...
by Cyllceaux
Fri Apr 19, 2024 8:19 am
Forum: Coding Questions
Topic: Check if UseSQLiteDatabase is called
Replies: 9
Views: 111

Check if UseSQLiteDatabase is called

Hey there, Is there a possibility to check if UseSQLiteDatabase() was called? I want to activate or deactivate some features in my libs depending of UseSQLiteDatabase was called. Something like that: CompilerIf Defined(UseSQLiteDatabase, #PB_Use) Debug "UseSQLiteDatabase is used" CompilerE...
by Cyllceaux
Sun Mar 31, 2024 7:36 pm
Forum: Coding Questions
Topic: Question to Transparence
Replies: 10
Views: 297

Re: Question to Transparence

THX!!!!!

It worked!!!!
by Cyllceaux
Sun Mar 31, 2024 7:23 pm
Forum: Coding Questions
Topic: Question to Transparence
Replies: 10
Views: 297

Re: Question to Transparence

I want a transparent Image in a transparent Image.

With Vector it worked fine.

What does #PB_Image_OriginalDeph? I thought the flags only allowed #PB_Image_Transparent
by Cyllceaux
Sun Mar 31, 2024 6:43 pm
Forum: Coding Questions
Topic: Question to Transparence
Replies: 10
Views: 297

Question to Transparence

I'm not sure why, but when I use transparence, it only worked in Vector. What am I doing wrong? EnableExplicit Define w=DesktopScaledX(200) Define h=DesktopScaledY(200) OpenWindow(0,0,0,640,220,"Test",#PB_Window_SystemMenu|#PB_Window_ScreenCentered) ImageGadget(1,10,10,200,200,0,#PB_Image_...
by Cyllceaux
Sat Mar 30, 2024 6:18 pm
Forum: Feature Requests and Wishlists
Topic: SpriteVectorOutput(#sprite)
Replies: 5
Views: 979

Re: SpriteVectorOutput(#sprite)

yes, this is my actual "workaround". :/
by Cyllceaux
Sat Mar 30, 2024 5:57 pm
Forum: Feature Requests and Wishlists
Topic: SpriteVectorOutput(#sprite)
Replies: 5
Views: 979

Re: SpriteVectorOutput(#sprite)

You can use the Vector Lib. I use them almost for all my Programs. Why not using it for games?
by Cyllceaux
Sat Mar 30, 2024 12:28 pm
Forum: Feature Requests and Wishlists
Topic: SpriteVectorOutput(#sprite)
Replies: 5
Views: 979

Re: SpriteVectorOutput(#sprite)

Today I stumbled upon the same question.

And the same question here: Sprite and memory output targets for StartVectorDrawing()
by Cyllceaux
Sun Mar 24, 2024 9:52 am
Forum: 3D Programming
Topic: Simple rain test
Replies: 8
Views: 858

Re: Simple rain test

Everytime I see demos from you, I feel like dumb a.f.

So less code, so impressive
by Cyllceaux
Thu Mar 14, 2024 8:11 am
Forum: Applications - Feedback and Discussion
Topic: IceDesign GUI designer
Replies: 573
Views: 139158

Re: IceDesign GUI designer

I'm not sure if the bug is allready reported, but the "locked" Feature does not work correctly: [ { "Level" : 0, "Gadget" : 2, "Model" : "OpenWindow", "Type" : 0, "Name" : "#wndMain", "Container" : 1, "Par...
by Cyllceaux
Wed Mar 06, 2024 2:23 pm
Forum: Coding Questions
Topic: Pointer to String in Array an String in List! Whats differnt?
Replies: 7
Views: 309

Re: Pointer to String in Array an String in List! Whats differnt?

Code: Select all

Debug ""
Debug "List"
ForEach lst()
  Define v.s=lst()
  *ptr = @v
  Debug lst() + " : " + Chr(*ptr\c) + " : " + Str(*ptr\c)
Next
The pointer on lst() does not point on the list value. It points on the list-Entry
by Cyllceaux
Thu Feb 22, 2024 4:39 pm
Forum: Coding Questions
Topic: GadgetHeight/Width, CanvasGadget and Dialogs
Replies: 4
Views: 144

Re: GadgetHeight/Width, CanvasGadget and Dialogs

:oops: This would be so nice!