Code Monkey home page Code Monkey logo

dtk's Introduction

D graphical ToolKit

About

This is DTK (D graphical ToolKit).

Currently under heavy and deep development. It's far even to alpha.

DTK is thought to be highly portable, but currently it actually supports only SDL backend.

Establishing Development Environment

Basically, you'll have to 'git clone' repo somewhere and config local dub to be able to find dtk.

Let's suppose you cloned dtk repo under directory /home/user/projects/dtk (so /home/user/projects/dtk/README.md is file you are currently reading).

Now

  1. go to ~/.dub/packages
  2. and create file with name 'local-packages.json'
  3. put text like this into 'local-packages.json' file:
[
        {
                "name": "*",
                "path": "/home/user/dpath_work"
        }
]
  1. create this '/home/user/dpath_work' directory and cd into it
  2. now create symlink (with name 'dtk') to /home/user/projects/dtk

after succeeding steps above, the example project inside of examples/hello should become buildable with 'dub build'.

NOTE: usually, I comment with 'compilable' commits which succeed in 'dub build'. currently not all commits to 'master' branch are compilable.

Dependencies

Currently DTK depends at least on following things and their development files:

  • SDL
  • font-config
  • freetype

The Project Structure

DTK consists of three parts:

  • backends
  • portable part: dtk widgets and utilities
  • lafs ([Look and Feel]s) - the visual themes

Backends - are all supposed to be places into src/dtk/platforms dir.

backends provide dtk with Platform and Window realizations. User supposed to use Platform for some basic interactions with the system and for windows creation.

Window is Platform's specific decision to create and handle windows, dialogs and pop-ups.

The portable part, is src/dtk/widgets and all the supplementary code for it's work.

dtk's People

Contributors

animuspexus avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.