Examples of Colour


Examples of net.machinemuse.numina.geometry.Colour

        Keyboard.enableRepeatEvents(true);
        creationTime = System.currentTimeMillis();

        int xpadding = (width - getxSize()) / 2;
        int ypadding = (height - ySize) / 2;
        backgroundRect = new DrawableMuseRect(absX(-1), absY(-1), absX(1), absY(1), true, new Colour(0.1F, 0.9F, 0.1F, 0.8F), new Colour(0.0F, 0.2F,
                0.0F, 0.8F));
        tooltipRect = new DrawableMuseRect(0, 0, 0, 0, false, new Colour(0.2F, 0.6F, 0.9F, 0.7F), new Colour(0.1F, 0.3F, 0.4F, 0.7F));
    }
View Full Code Here

Examples of net.machinemuse.numina.geometry.Colour

        this.rect = new DrawableMuseRect(
                position.x() - radius.x(),
                position.y() - radius.y(),
                position.x() + radius.x(),
                position.y() + radius.y(),
                new Colour(0.5F, 0.6F, 0.8F, 1),
                new Colour(0.3F, 0.3F, 0.3F, 1)
        );
        this.setEnabled(enabled);
    }
View Full Code Here

Examples of net.machinemuse.numina.geometry.Colour

     * machinemuse.powersuits.gui.Clickable#draw(net.minecraft.client.renderer
     * .RenderEngine, machinemuse.powersuits.gui.MuseGui)
     */
    @Override
    public void draw() {
        Colour topcolour;
        Colour bottomcolour;
        if (isEnabled()) {
            topcolour = new Colour(0.5F, 0.6F, 0.8F, 1);
            bottomcolour = new Colour(0.3F, 0.3F, 0.3F, 1);
        } else {
            topcolour = new Colour(0.8F, 0.3F, 0.3F, 1);
            bottomcolour = new Colour(0.8F, 0.6F, 0.6F, 1);
        }
        this.rect.setLeft(position.x() - radius.x());
        this.rect.setTop(position.y() - radius.y());
        this.rect.setRight(position.x() + radius.x());
        this.rect.setBottom(position.y() + radius.y());
View Full Code Here

Examples of net.machinemuse.numina.geometry.Colour

    @Override
    public void renderItem(ItemRenderType type, ItemStack itemStack, Object... data) {
        boolean drawIcon = false;
        ItemPowerFist item = (ItemPowerFist) itemStack.getItem();

        Colour colour = item.getColorFromItemStack(itemStack);
        Colour glow = item.getColorFromItemStack(itemStack);
        switch (type) {
            case ENTITY:
                RenderBlocks renderEntity = (RenderBlocks) data[0];
                EntityItem entityEntity = (EntityItem) data[1];
                model.setNeutralPose();
View Full Code Here

Examples of net.machinemuse.numina.geometry.Colour

                break;

        }
        getFrameModel().renderAll();
        RenderState.glowOn();
        new Colour(tileentity.red, tileentity.green, tileentity.blue, 1.0).doGL();
        getLightModel().renderAll();
        RenderState.glowOff();
        glPopMatrix();
    }
View Full Code Here

Examples of net.machinemuse.numina.geometry.Colour

     * @param yoffset
     * @param radius
     */
    public static void drawCircleAround(double xoffset, double yoffset, double radius) {
        if (selectionCircle == null) {
            selectionCircle = new SwirlyMuseCircle(new Colour(0.0f, 1.0f, 0.0f, 0.0f), new Colour(0.8f, 1.0f, 0.8f, 1.0f));
        }
        selectionCircle.draw(radius, xoffset, yoffset);
    }
View Full Code Here

Examples of org.apache.qpid.server.queue.SortedQueueEntry.Colour

    {
        final SortedQueueEntry next = entry.getNextValidEntry();
        final SortedQueueEntry nextParent = next.getParent();
        final SortedQueueEntry nextLeft = next.getLeft();
        final SortedQueueEntry nextRight = next.getRight();
        final Colour nextColour = next.getColour();

        // Special case - the successor is the right child of the node
        if(next == entry.getRight())
        {
            next.setParent(entry.getParent());
View Full Code Here

Examples of org.apache.qpid.server.queue.SortedQueueEntry.Colour

    {
        final SortedQueueEntry next = entry.getNextValidEntry();
        final SortedQueueEntry nextParent = next.getParent();
        final SortedQueueEntry nextLeft = next.getLeft();
        final SortedQueueEntry nextRight = next.getRight();
        final Colour nextColour = next.getColour();

        // Special case - the successor is the right child of the node
        if(next == entry.getRight())
        {
            next.setParent(entry.getParent());
View Full Code Here

Examples of org.apache.qpid.server.queue.SortedQueueEntryImpl.Colour

    {
        final SortedQueueEntryImpl next = entry.getNextValidEntry();
        final SortedQueueEntryImpl nextParent = next.getParent();
        final SortedQueueEntryImpl nextLeft = next.getLeft();
        final SortedQueueEntryImpl nextRight = next.getRight();
        final Colour nextColour = next.getColour();

        // Special case - the successor is the right child of the node
        if(next == entry.getRight())
        {
            next.setParent(entry.getParent());
View Full Code Here

Examples of org.elevenbits.westvleteren.model.item.Colour

        }
    }

    public void testCreateAndGetAndRemoveColour() throws Exception {
      log.warn("Creating a colour");
      Colour colour = new Colour("colour", "description");
      dao.saveColour(colour);
      Integer id = colour.getId();
      colour = dao.getColour(id);
      assertEquals(colour.getName(), "colour");
      assertEquals(colour.getDescription(), "description");
      log.warn("Colour created: " + colour);
      dao.removeColour(colour);
      log.warn("Colour removed");
      try {
        colour = dao.getColour(id);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.