Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
162 user(s) are online (141 user(s) are browsing Forums)

Members: 0
Guests: 162

more...

Support us!

Headlines

 
  Register To Post  

tring to write a new GDK for OS4
Home away from home
Home away from home


See User information
Can you help me?

I'm looking for GDK examples, tutorials and demos, I'm tring to write a new GDK for OS4, GDK wrapper for GTK, this what makes GTK work on Windows or Linux.

Note I'm NOT looking GTK stuff, only GDK.

I need the examples and tutorials to test if the code I'm going to write works or not.

On this are the topics I'm looking for:

GdkDisplay
GdkDisplayManager
GdkScreen
Points, Rectangles and Regions
Graphics Contexts
Drawing Primitives
Bitmaps and Pixmaps
GdkRGB
Images
Pixbufs
Colormaps and Colors
Visuals
Fonts
Cursors
Windows
Events
Event Structures
Key Values
Selections
Drag and Drop
Properties and Atoms
Threads
Input
Input Devices
Pango Interaction
Cairo Interaction

http://library.gnome.org/devel/gdk/unstable/index.html

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: tring to write a new GDK for OS4
Home away from home
Home away from home


See User information
@LiveForIt

About time lazy boy

I can't help but wish you the best of luck.

X5000
Go to top
Re: tring to write a new GDK for OS4
Not too shy to talk
Not too shy to talk


See User information
@LiveForIt

If I understand, you want to port / implement GDK to compile the original GTK with a native GDK. I am not an expert (even if I tried to understand how to wrap GTK cleanly) but :
- GTK does not only depend on GDK (but you know that because you are talking about Pango and Cairo interaction)
- Gadgets are managed by the GTK layer and I am not sure about the result : in my opinion it will be necessary to change some parts of GTK too

GTK is a hard but interesting topic. Maybe I will have a look on it again.

Go to top
Re: tring to write a new GDK for OS4
Home away from home
Home away from home


See User information
@corto

GTK depends on GDK, Pango

Pango depends on GLIB, FreeType (and some X11 stuff)
I think its is the font system for GTK.

GDK depends on GLIB, and X11 or Win32

GDK is wrapper or the OS glue code, skipping GDK you make the mistake of need to rewrite every thing in GTK, so that's not good idea.

Once GLIB and GDK is in place GTK should compile more or less whit out modification, it might be possible to drop pango on the initial port.


Edited by LiveForIt on 2007/12/29 1:31:22
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: tring to write a new GDK for OS4
Home away from home
Home away from home


See User information
@LiveForIt

Made any progress?

X5000
Go to top
Re: tring to write a new GDK for OS4
Home away from home
Home away from home


See User information
@Antique

I don't really know where I'm at yet, because I need some test programs.

but this are modules that I'm compiling.

# -- ok --

mods = General Display DisplayManager
mods += gdkdnd
mods += gdkrgb
mods += gdkimage
mods += gdkcolor
mods += gdkcursor
mods += gdkevents
mods += gdkwindow
mods += gdkrectangle
mods += gdkaliasdef
mods += gdkregion-generic
mods += gdkpixmap
mods += gdkselection
mods += gdkfont
mods += gdkglobals
mods += gdkvisual
mods += gdkkeyuni

# -- porting --

mods += gdkscreen
mods += gdkdraw
mods += gdkpixbuf-drawable
mods += gdkpixbuf-render

# -- problems --

mods += gdk
mods += gdkkeys
mods += gdkmedialib
mods += gdkkeynames
mods += gdkpolyreg-generic
mods += gdkenumtypes
mods += gdkcairo
mods += gdkgc
mods += gdkpango


Edited by LiveForIt on 2007/12/29 23:42:52
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: tring to write a new GDK for OS4
Just popping in
Just popping in


See User information
@LiveForIt

Have you seen the GDK stuff here? It's old but I stumbled across it the other day.

http://www.koders.com/c/fid04998FB137 ... 3DCF134D3D85861898FC.aspx

Go to top
Re: tring to write a new GDK for OS4
Home away from home
Home away from home


See User information
@BobW

It looks like Yomgui (guillaume roguez) has done it alrady?

who is Yomgui where does he heng out?


Edited by LiveForIt on 2008/1/2 0:50:29
Edited by LiveForIt on 2008/1/2 0:50:59
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: tring to write a new GDK for OS4
Quite a regular
Quite a regular


See User information
@LiveForIt

he is french morphos dev.

there is no contact on his site but you could send him a PM on amigaimpact.org (http://www.amigaimpact.org/userinfo.php?uid=106)

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project