Skip to content

Commit

Permalink
JBR API v0.0.8 - add GraphicsUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
AMPivovarov committed Jan 25, 2023
1 parent cdbdc7e commit 6b1803c
Show file tree
Hide file tree
Showing 8 changed files with 639 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2021 JetBrains s.r.o.
* Copyright 2000-2023 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -40,6 +40,9 @@ public class JBRApiModule {
.clientProxy("java.awt.Desktop$DesktopActionsHandler", "com.jetbrains.DesktopActions$Handler")
.service("com.jetbrains.ProjectorUtils")
.withStatic("overrideGraphicsEnvironment", "overrideLocalGraphicsEnvironment", "java.awt.GraphicsEnvironment")
.withStatic("setLocalGraphicsEnvironmentProvider", "setLocalGraphicsEnvironmentProvider", "java.awt.GraphicsEnvironment");
.withStatic("setLocalGraphicsEnvironmentProvider", "setLocalGraphicsEnvironmentProvider", "java.awt.GraphicsEnvironment")
.service("com.jetbrains.GraphicsUtils")
.withStatic("createConstrainableGraphics","createConstrainableGraphics" , "com.jetbrains.desktop.JBRGraphicsUtil")
.clientProxy("sun.awt.ConstrainableGraphics2", "com.jetbrains.JbrApiConstrainableGraphics2");
}
}
Loading

0 comments on commit 6b1803c

Please sign in to comment.