Skip to content

Commit

Permalink
Move RemixIcons module to Graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
fjvallarino committed Aug 6, 2021
1 parent 25f81c3 commit 8958b65
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion monomer.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ library
Monomer.Graphics.FontManager
Monomer.Graphics.Lens
Monomer.Graphics.NanoVGRenderer
Monomer.Graphics.RemixIcon
Monomer.Graphics.Text
Monomer.Graphics.Types
Monomer.Graphics.Util
Expand Down Expand Up @@ -125,7 +126,6 @@ library
Monomer.Widgets.Util.Keyboard
Monomer.Widgets.Util.Lens
Monomer.Widgets.Util.Parser
Monomer.Widgets.Util.RemixIcon
Monomer.Widgets.Util.Style
Monomer.Widgets.Util.Text
Monomer.Widgets.Util.Theme
Expand Down
21 changes: 12 additions & 9 deletions src/Monomer.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,23 @@ Maintainer : [email protected]
Stability : experimental
Portability : non-portable
This is the package that should be imported by applications.
Main module, re-exporting all the modules of the library. This is the module
that should be imported by applications.
If you want to create custom Widgets, check:
- "Monomer.Widgets.Single" for self contained widgets
- "Monomer.Widgets.Container" for widgets with children
If you don't want to use all the helper modules, or import them unqualified, the
basic modules you will need are these:
If you don't want to use all the helper modules, or you don't want to import
them unqualified, the basic modules you will need are:
- 'Monomer.Common'
- 'Monomer.Core'
- 'Monomer.Event'
- 'Monomer.Graphics'
- 'Monomer.Main'
- 'Monomer.Widgets'
- "Monomer.Common"
- "Monomer.Core"
- "Monomer.Event"
- "Monomer.Graphics"
- "Monomer.Main"
- "Monomer.Widgets"
-}
module Monomer (
module Monomer.Common,
Expand All @@ -31,6 +32,7 @@ module Monomer (
module Monomer.Event,
module Monomer.Graphics,
module Monomer.Graphics.ColorTable,
module Monomer.Graphics.RemixIcon,
module Monomer.Main,
module Monomer.Widgets
) where
Expand All @@ -42,5 +44,6 @@ import Monomer.Core.Themes.SampleThemes
import Monomer.Event
import Monomer.Graphics
import Monomer.Graphics.ColorTable
import Monomer.Graphics.RemixIcon
import Monomer.Main
import Monomer.Widgets
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{-|
Module : Monomer.Widgets.Util.RemixIcon
Module : Monomer.Graphics.RemixIcon
Copyright : (c) 2018 Francisco Vallarino
License : BSD-3-Clause (see the LICENSE file)
Maintainer : [email protected]
Expand All @@ -23,7 +23,7 @@ _"remixDeleteBinFill"_).
-}
{-# LANGUAGE BinaryLiterals #-}

module Monomer.Widgets.Util.RemixIcon where
module Monomer.Graphics.RemixIcon where

import Data.Text (Text)

Expand Down
2 changes: 0 additions & 2 deletions src/Monomer/Widgets/Util.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ module Monomer.Widgets.Util (
module Monomer.Widgets.Util.Focus,
module Monomer.Widgets.Util.Hover,
module Monomer.Widgets.Util.Keyboard,
module Monomer.Widgets.Util.RemixIcon,
module Monomer.Widgets.Util.Style,
module Monomer.Widgets.Util.Text,
module Monomer.Widgets.Util.Theme,
Expand All @@ -25,7 +24,6 @@ import Monomer.Widgets.Util.Drawing
import Monomer.Widgets.Util.Focus
import Monomer.Widgets.Util.Hover
import Monomer.Widgets.Util.Keyboard
import Monomer.Widgets.Util.RemixIcon
import Monomer.Widgets.Util.Style
import Monomer.Widgets.Util.Text
import Monomer.Widgets.Util.Theme
Expand Down

0 comments on commit 8958b65

Please sign in to comment.