Skip to content

A library that adds useful features to Compose for Desktop apps

License

Notifications You must be signed in to change notification settings

szeweq/desktopose

Repository files navigation

Desktopose

This is a set of utilities and components meant to help with developing desktop apps that use Compose for Desktop library.

It contains the following modules:

  • core – Basic and helpful methods that other modules use (like binding method for MutableState)
  • hover – Adds support for pointer hover and hovering backgrounds (with fix for buttons)
  • combo-box – A combo box component (with a dropdown list)
  • progress – Progress state management and composition

Using this library (using Gradle)

Add JitPack to repositories first.

repositories {
    maven { url 'https://jitpack.io' }
}

Then add Desktopose as a dependancy (all modules will be included). Replace <version> with a release version or main-SNAPSHOT.

dependencies {
    implementation 'com.github.szeweq:desktopose:<version>'
}

You can also choose which modules you want to use (replace <module> with a module name):

dependencies {
    implementation 'com.github.szeweq.desktopose:<module>:<version>'
}